We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbc3a70 commit a097b48Copy full SHA for a097b48
core/build.gradle
@@ -1,4 +1,5 @@
1
plugins {
2
+ id 'signing'
3
id 'maven-publish'
4
id 'java-test-fixtures'
5
}
@@ -15,6 +16,7 @@ dependencies {
15
16
java {
17
// create jar with sources to publish it
18
withSourcesJar()
19
+ withJavadocJar()
20
21
22
publishing {
@@ -66,6 +68,16 @@ publishing {
66
68
67
69
70
71
+signing {
72
+ def signingKey = System.getenv("MAVEN_GPG_KEY")
73
+ def signingKeyId = System.getenv("MAVEN_GPG_KEY_ID")
74
+ def signingPassword = System.getenv("MAVEN_GPG_KEY_PASSWORD")
75
+
76
+ useInMemoryPgpKeys(signingKeyId, signingKey, signingPassword)
77
78
+ sign publishing.publications.mavenJava
79
+}
80
81
// generate SpottyVersion file
82
def spottySrc = "$buildDir/generated/sources/spotty/java"
83
sourceSets {
0 commit comments