Build: Fix up-to-date for :kotlin-compiler-client-embeddable:shadowJar

The task was never up-to-date because default jar and shadowJar tasks overwritten each other's output

 #KT-28656 Fixed
This commit is contained in:
Vyacheslav Gerasimov
2018-12-05 20:45:30 +03:00
parent abc13589c8
commit 02fbdc54d9
@@ -49,17 +49,12 @@ projectTest {
} }
} }
archives.artifacts.let { artifacts -> noDefaultJar()
artifacts.forEach {
if (it.type == "jar") {
artifacts.remove(it)
}
}
}
runtimeJar(task<ShadowJar>("shadowJar")) { runtimeJar(task<ShadowJar>("shadowJar")) {
from(jarContents) from(jarContents)
} }
sourcesJar() sourcesJar()
javadocJar() javadocJar()