Build: Use Jar task for :kotlin-compiler:packCompiler
Right now can't be cached between builds because of compiler version. We may move module containing compiler version directly to the final jar
This commit is contained in:
@@ -222,13 +222,15 @@ dependencies {
|
||||
|
||||
publish()
|
||||
|
||||
val packCompiler by task<ShadowJar> {
|
||||
configurations = emptyList()
|
||||
val packCompiler by task<Jar> {
|
||||
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
||||
destinationDirectory.set(File(buildDir, "libs"))
|
||||
archiveClassifier.set("before-proguard")
|
||||
|
||||
from(fatJarContents)
|
||||
dependsOn(fatJarContents)
|
||||
from {
|
||||
fatJarContents.map(::zipTree)
|
||||
}
|
||||
|
||||
dependsOn(fatJarContentsStripServices)
|
||||
from {
|
||||
|
||||
Reference in New Issue
Block a user