From 1ef7ca8ec517a52202e1b6741a13736d398213a4 Mon Sep 17 00:00:00 2001 From: Joffrey BION Date: Thu, 16 May 2019 23:09:07 +0200 Subject: Centralize declaration of Kotlin plugin version --- backend/build.gradle.kts | 5 ++--- build.gradle.kts | 6 ++++++ game-engine/build.gradle.kts | 2 +- 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" } -- cgit