-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
40 lines (34 loc) · 828 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
allprojects {
repositories {
mavenCentral()
}
group 'ru.hse.cs.java2020'
}
ext.libsVersions = [
junit : '4.13',
]
ext.libs = [
junit : "junit:junit:${libsVersions.junit}"
]
subprojects {
apply plugin: 'java'
apply plugin: 'application'
sourceCompatibility = JavaVersion.VERSION_11
test {
testLogging.showStandardStreams = true
}
apply plugin: 'checkstyle'
tasks.withType(Checkstyle) {
def configDir = project.rootProject.file('config/checkstyle')
configProperties = ['config-dir' : configDir]
configFile = new File(configDir, 'checkstyle.xml')
showViolations = true
reports {
xml.enabled = false
html.enabled = true
}
}
dependencies {
testCompile libs.junit
}
}