Add shadowing to dev and sources artifacts

This commit is contained in:
Johann Bernhardt committed 2021-11-21 19:12:04 +01:00
1 parent bf5c4f6940
commit ce57b88f4e
1 file changed
+10
+10
View File
@@ -427,6 +427,11 @@ task sourcesJar(type: Jar) {
manifest {
attributes(manifestAttributes)
}
if(usesShadowedDependencies.toBoolean()) {
dependsOn(shadowJar)
enabled = false
}
}
task devJar(type: Jar) {
@@ -457,6 +462,11 @@ task devJar(type: Jar) {
manifest {
attributes(manifestAttributes)
}
if(usesShadowedDependencies.toBoolean()) {
dependsOn(shadowJar)
enabled = false
}
}
task apiJar(type: Jar) {