Align buildSrc's Kotlin version with the main build

Closes gh-31387
pull/31676/head
Andy Wilkinson 2 years ago
parent 9f8a262e6b
commit 5a028e059c

@ -13,6 +13,15 @@ repositories {
sourceCompatibility = 1.8
targetCompatibility = 1.8
ext {
def propertiesFile = new File(new File("$projectDir").parentFile, "gradle.properties")
propertiesFile.withInputStream {
def properties = new Properties()
properties.load(it)
set("kotlinVersion", properties["kotlinVersion"])
}
}
dependencies {
checkstyle "io.spring.javaformat:spring-javaformat-checkstyle:${javaFormatVersion}"
implementation(platform("org.springframework:spring-framework-bom:5.3.15"))
@ -21,8 +30,8 @@ dependencies {
implementation("org.apache.maven:maven-embedder:3.6.2")
implementation("org.asciidoctor:asciidoctor-gradle-jvm:3.3.2")
implementation("org.gradle:test-retry-gradle-plugin:1.4.0")
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.0")
implementation("org.jetbrains.kotlin:kotlin-compiler-embeddable:1.5.0")
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlinVersion}")
implementation("org.jetbrains.kotlin:kotlin-compiler-embeddable:${kotlinVersion}")
implementation("org.springframework:spring-core")
implementation("org.springframework:spring-web")
implementation("io.spring.javaformat:spring-javaformat-gradle-plugin:${javaFormatVersion}")

Loading…
Cancel
Save