Last active
February 28, 2020 21:38
-
-
Save jeserkin/2a5dae31b130e2ddf35b375b229f61f3 to your computer and use it in GitHub Desktop.
Gradle and JUnit setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply plugin: 'java' | |
sourceCompatibility = 1.8 | |
targetCompatibility = 1.8 | |
// compileJava.options.fork = true | |
// compileJava.options.forkOptions.executable = /path_to_javac | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
testImplementation( | |
'junit:junit:4.12', | |
'org.junit.jupiter:junit-jupiter-api:5.4.2' | |
) | |
testRuntime( | |
'org.junit.jupiter:junit-jupiter-engine:5.4.2', | |
'org.junit.vintage:junit-vintage-engine:5.4.2' | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment