-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
40 lines (34 loc) · 865 Bytes
/
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
plugins {
id 'java'
id 'checkstyle'
}
test {
useJUnitPlatform()
}
checkstyle {
toolVersion '7.8.1'
configFile file("config/checkstyle/checkstyle.xml")
}
checkstyleMain {
source = 'src/main/java/foo/bar'
}
checkstyleTest {
source ='src/test/java/foo/bar/l1'
}
repositories {
maven {
url 'https://repo.maven.apache.org/maven2'
name 'Maven Central'
}
}
ext {
junitVersion = "5.8.1"
}
dependencies {
// This dependency is used by the application.
implementation 'com.google.guava:guava:31.0.1-jre'
compile group: 'org.openjfx', name: 'javafx', version: '11', ext: 'pom'
// Use JUnit test framework with ParameterizedTest enabled
testImplementation "org.junit.jupiter:junit-jupiter-params:${junitVersion}"
testImplementation "org.junit.jupiter:junit-jupiter-engine:${junitVersion}"
}