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:
Vyacheslav Gerasimov
2020-02-25 16:54:18 +03:00
parent 35c4cc6d45
commit b64c7cce84
+5 -3
View File
@@ -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 {