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:
@@ -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()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user