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 ->
|
||||
artifacts.forEach {
|
||||
if (it.type == "jar") {
|
||||
artifacts.remove(it)
|
||||
}
|
||||
}
|
||||
}
|
||||
noDefaultJar()
|
||||
|
||||
runtimeJar(task<ShadowJar>("shadowJar")) {
|
||||
from(jarContents)
|
||||
}
|
||||
|
||||
sourcesJar()
|
||||
javadocJar()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user