-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
49 lines (39 loc) · 1.01 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
37
38
39
40
41
42
43
44
45
46
47
48
49
version '1.0-SNAPSHOT'
buildscript {
repositories {
mavenCentral()
}
ext {
junitVersion = '5.0.0-RC3'
junitPlatformVersion = '1.0.0-RC3'
}
dependencies {
classpath group: 'org.junit.platform', name: 'junit-platform-gradle-plugin', version: junitPlatformVersion
}
}
apply plugin: 'checkstyle'
checkstyle {
toolVersion "8.2"
}
allprojects {
apply plugin: 'java'
apply plugin: 'org.junit.platform.gradle.plugin'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
testCompile group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: junitVersion
testCompile group: 'org.junit.platform', name: 'junit-platform-runner', version: junitPlatformVersion
testRuntime group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: junitVersion
}
}
subprojects {
dependencies {
compile rootProject
}
}
jar.dependsOn 'javadoc'
jar {
from javadoc.destinationDir
}