mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 17:27:38 +00:00
Disable signing task when not signing.
This commit is contained in:
parent
2dc9321da6
commit
e0dcd2e9c2
@ -8,7 +8,6 @@ buildscript {
|
||||
}
|
||||
|
||||
plugins {
|
||||
id 'signing'
|
||||
id 'org.spongepowered.plugin' version '0.9.0'
|
||||
}
|
||||
|
||||
@ -50,8 +49,12 @@ artifacts {
|
||||
archives shadowJar
|
||||
}
|
||||
|
||||
signing {
|
||||
required false
|
||||
sign shadowJar
|
||||
artifactoryPublish.skip = true
|
||||
if (project.hasProperty("signing")) {
|
||||
apply plugin: 'signing'
|
||||
|
||||
signing {
|
||||
sign shadowJar
|
||||
}
|
||||
|
||||
build.dependsOn('signShadowJar')
|
||||
}
|
Loading…
Reference in New Issue
Block a user