diff --git a/buildSrc/build.gradle b/buildSrc/build.gradle index 0f3cea12e1..3b1dc490a7 100644 --- a/buildSrc/build.gradle +++ b/buildSrc/build.gradle @@ -4,7 +4,9 @@ plugins { id "groovy" } -sourceCompatibility = JavaVersion.VERSION_17 +java { + sourceCompatibility = JavaVersion.VERSION_17 +} repositories { gradlePluginPortal() diff --git a/core/spring-security-core.gradle b/core/spring-security-core.gradle index 57040811c0..fd5857a20c 100644 --- a/core/spring-security-core.gradle +++ b/core/spring-security-core.gradle @@ -36,7 +36,7 @@ dependencies { } task springVersion(type: org.gradle.api.tasks.WriteProperties) { - outputFile = file("${buildDir}/versions/spring-security.versions") + destinationFile = file("${buildDir}/versions/spring-security.versions") property("org.springframework:spring-core", springVersion()) }