Build: Rework runtimeJar helper and drop redundant configuration
#KTI-559
This commit is contained in:
@@ -56,8 +56,6 @@ if (deployVersion != null) {
|
||||
publish()
|
||||
}
|
||||
|
||||
noDefaultJar()
|
||||
|
||||
runtimeJar(tasks.register<ShadowJar>("shadowJar")) {
|
||||
callGroovy("manifestAttributes", manifest, project)
|
||||
manifest.attributes["Implementation-Version"] = version
|
||||
|
||||
@@ -24,6 +24,7 @@ sourceSets {
|
||||
val shadows by configurations.creating {
|
||||
isTransitive = false
|
||||
}
|
||||
|
||||
configurations.getByName("compileOnly").extendsFrom(shadows)
|
||||
configurations.getByName("testApi").extendsFrom(shadows)
|
||||
|
||||
@@ -44,8 +45,6 @@ if (deployVersion != null) {
|
||||
publish()
|
||||
}
|
||||
|
||||
noDefaultJar()
|
||||
|
||||
runtimeJar(tasks.register<ShadowJar>("shadowJar")) {
|
||||
callGroovy("manifestAttributes", manifest, project)
|
||||
manifest.attributes["Implementation-Version"] = version
|
||||
|
||||
Reference in New Issue
Block a user