diff options
-rw-r--r-- | gradle.properties | 3 | ||||
-rw-r--r-- | mod/build.gradle | 5 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gradle.properties b/gradle.properties index 49d72768..7bb937f6 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,5 @@ org.gradle.jvmargs=-Xmx2G org.gradle.caching=true loom.platform=forge -dg.testwithneu=true
\ No newline at end of file +dg.testwithneu=true +signing.gnupg.keyName=28DC4ACD
\ No newline at end of file diff --git a/mod/build.gradle b/mod/build.gradle index 7652ac0c..ca9d2054 100644 --- a/mod/build.gradle +++ b/mod/build.gradle @@ -1,4 +1,5 @@ plugins { + id "signing" id "idea" id "java" id "com.github.johnrengelman.shadow" version "7.1.2" @@ -18,6 +19,10 @@ sourceSets.main { output.setResourcesDir(file("$buildDir/classes/java/main")) } +signing { + useGpgCmd() + sign configurations.archives +} repositories { mavenCentral() |