Build: Replace configuration dependencies with extends
Configuration dependencies on configuration are not allowed in Gradle 8
This commit is contained in:
committed by
Space Team
parent
fae4cbb415
commit
bd9f096cfd
@@ -22,10 +22,12 @@ val proguardLibraryJars by configurations.creating {
|
||||
}
|
||||
}
|
||||
|
||||
val relocatedJarContents by configurations.creating
|
||||
|
||||
val embedded by configurations
|
||||
|
||||
val relocatedJarContents by configurations.creating {
|
||||
extendsFrom(embedded)
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compileOnly(project(":compiler:cli-common"))
|
||||
compileOnly(project(":kotlin-scripting-jvm-host-unshaded"))
|
||||
@@ -50,7 +52,6 @@ dependencies {
|
||||
proguardLibraryJars(commonDependency("org.jetbrains.kotlin:kotlin-reflect")) { isTransitive = false }
|
||||
proguardLibraryJars(project(":kotlin-compiler"))
|
||||
|
||||
relocatedJarContents(embedded)
|
||||
relocatedJarContents(mainSourceSet.output)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user