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 9b34f88 commit e62b4abCopy full SHA for e62b4ab
build.gradle.kts
@@ -8,6 +8,11 @@ plugins {
8
9
val encoding: String by project
10
val isSnapshot = project.version.toString().endsWith("SNAPSHOT")
11
+val secretKeyRingFile: String? =
12
+ findProperty("signing.secretKeyRingFile")?.toString()?.let {
13
+ if (it.isEmpty()) null
14
+ else file(it).absolutePath
15
+ }
16
17
allprojects {
18
val replaceVersionJava by tasks.registering {
@@ -38,6 +43,8 @@ subprojects {
38
43
apply(plugin = "com.diffplug.gradle.spotless")
39
44
apply(plugin = "de.marcphilipp.nexus-publish")
40
45
46
+ extra["signing.secretKeyRingFile"] = secretKeyRingFile
47
+
41
48
val compileJava by tasks.existing(JavaCompile::class) {
42
49
dependsOn(tasks.named("replaceVersionJava"))
50
options.encoding = encoding
0 commit comments