[build][resolution] tune serialization plugin resolution to buildKotlinVersion
This commit is contained in:
@@ -85,4 +85,12 @@ val compileGroovy: GroovyCompile by tasks
|
|||||||
compileGroovy.apply {
|
compileGroovy.apply {
|
||||||
classpath += project.files(compileKotlin.destinationDir)
|
classpath += project.files(compileKotlin.destinationDir)
|
||||||
dependsOn(compileKotlin)
|
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