[build][resolution] tune serialization plugin resolution to buildKotlinVersion
This commit is contained in:
@@ -85,4 +85,12 @@ val compileGroovy: GroovyCompile by tasks
|
||||
compileGroovy.apply {
|
||||
classpath += project.files(compileKotlin.destinationDir)
|
||||
dependsOn(compileKotlin)
|
||||
}
|
||||
|
||||
val kotlinCompilerPluginClasspath by configurations.getting
|
||||
|
||||
kotlinCompilerPluginClasspath.resolutionStrategy.eachDependency {
|
||||
if (requested.group == "org.jetbrains.kotlin" && requested.name == "kotlin-serialization") {
|
||||
useVersion(buildKotlinVersion)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user