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 +} +*/