diff options
author | Joffrey BION <joffrey.bion@gmail.com> | 2018-08-01 00:09:46 +0200 |
---|---|---|
committer | Joffrey BION <joffrey.bion@gmail.com> | 2018-08-01 01:45:04 +0200 |
commit | 1e98b6bdf6aac5df09545349373a9f9624f38692 (patch) | |
tree | 2c6a9ae994f6c20679c59ac9046a006ce4d0a083 /game-engine/build.gradle | |
parent | Add history note about Kotlin migration (diff) | |
download | seven-wonders-1e98b6bdf6aac5df09545349373a9f9624f38692.tar.gz seven-wonders-1e98b6bdf6aac5df09545349373a9f9624f38692.tar.bz2 seven-wonders-1e98b6bdf6aac5df09545349373a9f9624f38692.zip |
Remove checkstyle and add ktlint
Diffstat (limited to 'game-engine/build.gradle')
-rw-r--r-- | game-engine/build.gradle | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/game-engine/build.gradle b/game-engine/build.gradle index 97067176..eb706af5 100644 --- a/game-engine/build.gradle +++ b/game-engine/build.gradle @@ -1,30 +1,16 @@ plugins { id "org.jetbrains.kotlin.jvm" version "1.2.51" + id "org.jlleitschuh.gradle.ktlint" version "4.1.0" } -apply plugin: 'checkstyle' - group 'org.luxons' repositories { - mavenCentral() -} - -configurations { - checkstyleConfig - ktlint + jcenter() } 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") } |