Disable signing task when not signing.

This commit is contained in:
Matthew Miller 2018-11-18 14:28:37 +10:00
parent 2dc9321da6
commit e0dcd2e9c2

View File

@ -8,7 +8,6 @@ buildscript {
} }
plugins { plugins {
id 'signing'
id 'org.spongepowered.plugin' version '0.9.0' id 'org.spongepowered.plugin' version '0.9.0'
} }
@ -50,8 +49,12 @@ artifacts {
archives shadowJar archives shadowJar
} }
signing { if (project.hasProperty("signing")) {
required false apply plugin: 'signing'
sign shadowJar
artifactoryPublish.skip = true signing {
sign shadowJar
}
build.dependsOn('signShadowJar')
} }