-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathbuild.gradle
36 lines (30 loc) · 1.02 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*
* This build file was generated by the Gradle 'init' task.
*
* This generated file contains a commented-out sample Java project to get you started.
* For more details take a look at the Java Quickstart chapter in the Gradle
* user guide available at https://docs.gradle.org/4.2.1/userguide/tutorial_java_projects.html
*/
// Apply the java plugin to add support for Java
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'jacoco'
repositories {
jcenter()
}
jacoco {
toolVersion = "0.8.2"
}
sourceCompatibility = 1.12
//targetCompatibility = 1.11 // defaults to 'sourceCompatibility'
// In this section you declare the dependencies for your production and test code
def junitVersion = "5.4.1"
dependencies {
// JUnit Jupiter API and TestEngine implementation
testCompile("org.junit.jupiter:junit-jupiter-api:${junitVersion}")
testRuntime("org.junit.jupiter:junit-jupiter-engine:${junitVersion}")
testCompile("org.junit.jupiter:junit-jupiter-params:${junitVersion}")
}
test {
useJUnitPlatform()
}