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 215923a commit 278ef46Copy full SHA for 278ef46
xap-sdk/build.gradle.kts
@@ -3,6 +3,7 @@ import org.jetbrains.kotlin.gradle.dsl.JvmTarget
3
plugins {
4
kotlin("jvm")
5
id("java")
6
+ id("signing")
7
id("maven-publish")
8
id("org.jlleitschuh.gradle.ktlint") version "12.1.2"
9
}
@@ -104,6 +105,14 @@ publishing {
104
105
106
107
108
+signing {
109
+ val signingKey = System.getenv("GPG_SECRET")
110
+ val signingPassword = System.getenv("GPG_PASSPHRASE")
111
+
112
+ useInMemoryPgpKeys(signingKey, signingPassword)
113
+ sign(publishing.publications)
114
+}
115
116
gradle.taskGraph.whenReady {
117
if (hasTask(":publishSnapshots")) {
118
rootProject.version = "1.0.0-SNAPSHOT"
0 commit comments