Disable signing task when not signing.

Dieser Commit ist enthalten in:
Matthew Miller 2018-11-18 14:28:37 +10:00
Ursprung 2dc9321da6
Commit e0dcd2e9c2

Datei anzeigen

@ -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
} }
if (project.hasProperty("signing")) {
apply plugin: 'signing'
signing { signing {
required false
sign shadowJar sign shadowJar
artifactoryPublish.skip = true }
build.dependsOn('signShadowJar')
} }