Update buildscripts for Sponge Ore deployment

This commit is contained in:
Luck 2018-10-15 22:30:27 +01:00
parent ee2de3cff1
commit dcc4656e5e
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B
2 changed files with 14 additions and 2 deletions

View File

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

View File

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