Skip to content

Commit 741b524

Browse files
committed
🔨 update signing configuration to use in-memory PGP keys
1 parent c01d6ea commit 741b524

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

qs-kotlin-android/build.gradle.kts

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ android {
2424

2525
compilerOptions {
2626
jvmTarget.set(JvmTarget.JVM_17)
27-
languageVersion.set(KotlinVersion.KOTLIN_2_0)
28-
apiVersion.set(KotlinVersion.KOTLIN_2_0)
27+
languageVersion.set(KotlinVersion.KOTLIN_2_0)
28+
apiVersion.set(KotlinVersion.KOTLIN_2_0)
2929
}
3030
}
3131

@@ -84,5 +84,11 @@ afterEvaluate {
8484
}
8585
}
8686

87-
signing { sign(publishing.publications) }
87+
signing {
88+
useInMemoryPgpKeys(
89+
providers.gradleProperty("signingInMemoryKey").getOrElse(""),
90+
providers.gradleProperty("signingInMemoryKeyPassword").getOrElse(""),
91+
)
92+
sign(publishing.publications)
93+
}
8894
}

0 commit comments

Comments
 (0)