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 63b6dc8 commit a9249fcCopy full SHA for a9249fc
buildSrc/src/main/kotlin/com.apollographql.federation.java-conventions.gradle.kts
@@ -17,8 +17,6 @@ repositories {
17
}
18
19
20
-extra["isReleaseVersion"] = !version.toString().endsWith("SNAPSHOT")
21
-
22
val junitVersion: String by project
23
dependencies {
24
testImplementation("org.junit.jupiter:junit-jupiter:$junitVersion")
@@ -107,7 +105,7 @@ tasks {
107
105
108
106
signing {
109
setRequired {
110
- (rootProject.extra["isReleaseVersion"] as Boolean) && gradle.taskGraph.hasTask("publish")
+ !version.toString().endsWith("SNAPSHOT") && gradle.taskGraph.hasTask("publish")
111
112
val signingKey: String? = System.getenv("GPG_PRIVATE_KEY")
113
val signingPassword: String? = System.getenv("GPG_PRIVATE_KEY_PASSWORD")
0 commit comments