<@U19P7SPFW> you beat me to it, I've just made a t...
# gradle
c
@eskatos you beat me to it, I've just made a test project to check if it was possible like that. @sdeleuze basically if you put version into
gradle.properties
as "kotlin.version" then you can configure it in
settings.gradle
like this:
Copy code
pluginManagement {
	repositories {
		gradlePluginPortal()
		maven(url = "<https://repo.spring.io/libs-milestone>")
	}
	resolutionStrategy {
		eachPlugin {
			if (requested.id.id == "org.springframework.boot") {
				useModule("org.springframework.boot:spring-boot-gradle-plugin:${requested.version}")
			}
			if (requested.id.id.startsWith("org.jetbrains.kotlin")) {
				useVersion(gradle.rootProject.extra["kotlin.version"] as String)
			}
		}
	}
}
👍 1
spring part is irrelevant here, but I guess you're using spring boot with a milestone version anyway so I haven't removed it 🙂