blob: 5a3cc4eaaeb5294e449e889156ee28db17d39bb8 (
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
25
26
27
28
29
30
|
plugins {
id "org.jetbrains.kotlin.jvm" version "1.2.51"
}
apply plugin: 'checkstyle'
group 'org.luxons'
repositories {
mavenCentral()
}
configurations {
checkstyleConfig
ktlint
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
implementation 'com.google.code.gson:gson:2.8.0'
testImplementation 'junit:junit:4.12'
checkstyleConfig "org.hildan.checkstyle:checkstyle-config:2.1.0"
ktlint "com.github.shyiko:ktlint:0.24.0"
}
checkstyle {
maxWarnings = 0
toolVersion = '8.2'
config = resources.text.fromArchiveEntry(configurations.checkstyleConfig, "checkstyle.xml")
}
|