From dcc4656e5e0c3e59548db7c0a30d273b7f36c16d Mon Sep 17 00:00:00 2001 From: Luck Date: Mon, 15 Oct 2018 22:30:27 +0100 Subject: [PATCH] Update buildscripts for Sponge Ore deployment --- api/build.gradle | 6 ++++-- sponge/build.gradle | 10 ++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/api/build.gradle b/api/build.gradle index fa28ac308..a04e02b1a 100644 --- a/api/build.gradle +++ b/api/build.gradle @@ -5,8 +5,9 @@ dependencies { compileOnly 'org.checkerframework:checker-qual:2.5.5' } -// disabled by default -if (false && project.hasProperty('sonatypeUsername') && project.hasProperty('sonatypePassword')) { +// Only used occasionally for deployment - not needed for normal builds. +/* +if (project.hasProperty('sonatypeUsername') && project.hasProperty('sonatypePassword')) { apply plugin: 'signing' javadoc { @@ -91,3 +92,4 @@ if (false && project.hasProperty('sonatypeUsername') && project.hasProperty('son } } } +*/ diff --git a/sponge/build.gradle b/sponge/build.gradle index cdd812016..5b775e7e4 100644 --- a/sponge/build.gradle +++ b/sponge/build.gradle @@ -56,3 +56,13 @@ shadowJar { artifacts { archives shadowJar } + +// Only used occasionally for deployment - not needed for normal builds. +/* +apply plugin: 'signing' + +signing { + useGpgCmd() + sign configurations.archives +} +*/