From c66d2e8039be25e1cd40307d1e356f6c533205b4 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Mon, 13 Jan 2020 10:57:43 +0000 Subject: [PATCH] Relax the Gradle plugin's Kotlin version constraint Enforcing the spring-boot-dependencies platform makes for too strong an opinion about the version of Kotlin that should be on the build script's classpath. It clashes with the version of Kotlin that's embedded in Gradle and used with Gradle's Kotlin DSL. This commit switches to a normal platform (rather than an enforced platform) which allows it to express an opinion about the version of Kotlin without making it a strict requirement. Closes gh-19609 --- .../spring-boot-tools/spring-boot-gradle-plugin/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/build.gradle b/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/build.gradle index b5ca902545..4bb5844f67 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/build.gradle +++ b/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/build.gradle @@ -26,7 +26,7 @@ repositories { dependencies { asciidoctorExtensions 'io.spring.asciidoctor:spring-asciidoctor-extensions-block-switch:0.3.0.RELEASE' - implementation enforcedPlatform(project(':spring-boot-project:spring-boot-dependencies')) + implementation platform(project(':spring-boot-project:spring-boot-dependencies')) implementation project(':spring-boot-project:spring-boot-tools:spring-boot-loader-tools') implementation 'io.spring.gradle:dependency-management-plugin' implementation 'org.apache.commons:commons-compress'