summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoffrey BION <joffrey.bion@gmail.com>2019-05-16 23:09:07 +0200
committerJoffrey BION <joffrey.bion@gmail.com>2019-05-16 23:11:03 +0200
commit1ef7ca8ec517a52202e1b6741a13736d398213a4 (patch)
tree1097272a3054c50cb06cac2214d9fb6c0db8b816
parentUpgrade node, yarn, and gradle-node-plugin version (diff)
downloadseven-wonders-1ef7ca8ec517a52202e1b6741a13736d398213a4.tar.gz
seven-wonders-1ef7ca8ec517a52202e1b6741a13736d398213a4.tar.bz2
seven-wonders-1ef7ca8ec517a52202e1b6741a13736d398213a4.zip
Centralize declaration of Kotlin plugin version
-rw-r--r--backend/build.gradle.kts5
-rw-r--r--build.gradle.kts6
-rw-r--r--game-engine/build.gradle.kts2
3 files changed, 9 insertions, 4 deletions
diff --git a/backend/build.gradle.kts b/backend/build.gradle.kts
index b88262b2..e1d56e59 100644
--- a/backend/build.gradle.kts
+++ b/backend/build.gradle.kts
@@ -1,7 +1,6 @@
plugins {
- val kotlinVersion = "1.3.31"
- id("org.jetbrains.kotlin.jvm") version kotlinVersion
- id("org.jetbrains.kotlin.plugin.spring") version kotlinVersion
+ id("org.jetbrains.kotlin.jvm")
+ id("org.jetbrains.kotlin.plugin.spring")
id("org.springframework.boot") version "2.1.3.RELEASE"
id("org.jlleitschuh.gradle.ktlint") version "7.1.0"
}
diff --git a/build.gradle.kts b/build.gradle.kts
index 6bef4754..4bfe4816 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -1,3 +1,9 @@
+plugins {
+ val kotlinVersion = "1.3.31"
+ id("org.jetbrains.kotlin.jvm") version kotlinVersion apply false
+ id("org.jetbrains.kotlin.plugin.spring") version kotlinVersion apply false
+}
+
subprojects {
repositories {
jcenter()
diff --git a/game-engine/build.gradle.kts b/game-engine/build.gradle.kts
index efe16329..674ac00e 100644
--- a/game-engine/build.gradle.kts
+++ b/game-engine/build.gradle.kts
@@ -1,5 +1,5 @@
plugins {
- id("org.jetbrains.kotlin.jvm") version "1.3.31"
+ id("org.jetbrains.kotlin.jvm")
id("org.jlleitschuh.gradle.ktlint") version "7.1.0"
}
bgstack15