mirror of
https://github.com/GTNewHorizons/Postea.git
synced 2026-11-13 17:04:01 +00:00
Add shadowing to dev and sources artifacts
This commit is contained in:
1 parent
bf5c4f6940
commit
ce57b88f4e
1 file changed
+10
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user