summaryrefslogtreecommitdiff
path: root/game-engine/build.gradle
diff options
context:
space:
mode:
authorJoffrey BION <joffrey.bion@gmail.com>2018-07-05 09:35:27 +0200
committerJoffrey Bion <joffrey.bion@amadeus.com>2018-07-06 14:17:16 +0200
commitccfd6d1d3ba64eef7df1645c24d979c284fd99da (patch)
tree441bc4e931fc998d86f642390096af4d30e9b85f /game-engine/build.gradle
parentPrevent PICK_NEIGHBOUR_GUILD action if no guild to pick (diff)
downloadseven-wonders-ccfd6d1d3ba64eef7df1645c24d979c284fd99da.tar.gz
seven-wonders-ccfd6d1d3ba64eef7df1645c24d979c284fd99da.tar.bz2
seven-wonders-ccfd6d1d3ba64eef7df1645c24d979c284fd99da.zip
Kotlin mig: api package
Diffstat (limited to 'game-engine/build.gradle')
-rw-r--r--game-engine/build.gradle8
1 files changed, 7 insertions, 1 deletions
diff --git a/game-engine/build.gradle b/game-engine/build.gradle
index 956e9f3a..5a3cc4ea 100644
--- a/game-engine/build.gradle
+++ b/game-engine/build.gradle
@@ -1,4 +1,7 @@
-apply plugin: 'java-library'
+plugins {
+ id "org.jetbrains.kotlin.jvm" version "1.2.51"
+}
+
apply plugin: 'checkstyle'
group 'org.luxons'
@@ -9,12 +12,15 @@ repositories {
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 {
bgstack15