mirror of
https://github.com/GTNewHorizons/Postea.git
synced 2026-11-20 04:09:43 +00:00
Only use shadow if appropriate
This commit is contained in:
1 parent
d68f0de0e6
commit
d1e6245a00
1 file changed
+2
-2
+2
-2
@@ -419,7 +419,7 @@ task devJar(type: Jar) {
|
||||
}
|
||||
|
||||
if(usesShadowedDependencies.toBoolean()) {
|
||||
dependsOn(shadowDevJar)
|
||||
dependsOn(circularResolverJar)
|
||||
enabled = false
|
||||
}
|
||||
}
|
||||
@@ -442,7 +442,7 @@ task apiJar(type: Jar) {
|
||||
|
||||
artifacts {
|
||||
archives sourcesJar
|
||||
archives circularResolverJar
|
||||
archives devJar
|
||||
if(apiPackage) {
|
||||
archives apiJar
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user