Skip to content

Commit 5369da9

Browse files
update signing requirement
1 parent 84e7e03 commit 5369da9

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

build.gradle

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -198,10 +198,7 @@ subprojects { project ->
198198
def secretKey = System.getenv("GPG_SECRET_KEY")
199199
def password = System.getenv("GPG_PASSWORD")
200200

201-
required {
202-
!project.version.endsWith("SNAPSHOT") && gradle.taskGraph.hasTask("publishDistPublicationToCentralRepository")
203-
}
204-
201+
required { !project.version.endsWith("SNAPSHOT") }
205202
useInMemoryPgpKeys(keyId, secretKey, password)
206203
sign publishing.publications.dist
207204
}

0 commit comments

Comments
 (0)