summaryrefslogtreecommitdiff
path: root/game-engine/build.gradle
blob: 97067176901dd86cffd361a6ce11382052455017 (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.github.salomonbrys.kotson:kotson:2.5.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")
}
bgstack15