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()
|
publish()
|
||||||
|
|
||||||
val packCompiler by task<ShadowJar> {
|
val packCompiler by task<Jar> {
|
||||||
configurations = emptyList()
|
|
||||||
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
||||||
destinationDirectory.set(File(buildDir, "libs"))
|
destinationDirectory.set(File(buildDir, "libs"))
|
||||||
archiveClassifier.set("before-proguard")
|
archiveClassifier.set("before-proguard")
|
||||||
|
|
||||||
from(fatJarContents)
|
dependsOn(fatJarContents)
|
||||||
|
from {
|
||||||
|
fatJarContents.map(::zipTree)
|
||||||
|
}
|
||||||
|
|
||||||
dependsOn(fatJarContentsStripServices)
|
dependsOn(fatJarContentsStripServices)
|
||||||
from {
|
from {
|
||||||
|
|||||||
Reference in New Issue
Block a user