[build][resolution] tune serialization plugin resolution to buildKotlinVersion
This commit is contained in:
@@ -86,3 +86,11 @@ 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