blob: 956e9f3adf230e0c682845b346b5449e0bc5e9c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
apply plugin: 'java-library'
apply plugin: 'checkstyle'
group 'org.luxons'
repositories {
mavenCentral()
}
configurations {
checkstyleConfig
}
dependencies {
implementation 'com.google.code.gson:gson:2.8.0'
testImplementation 'junit:junit:4.12'
checkstyleConfig "org.hildan.checkstyle:checkstyle-config:2.1.0"
}
checkstyle {
maxWarnings = 0
toolVersion = '8.2'
config = resources.text.fromArchiveEntry(configurations.checkstyleConfig, "checkstyle.xml")
}
|