Skip to content

Commit c87fd18

Browse files
authored
Update publish.gradle
1 parent 67b150e commit c87fd18

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

gradle/publish.gradle

+4-4
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,10 @@ task javadocsJar(type: Jar, dependsOn: dokka) {
7676

7777
signing {
7878
required { isReleaseBuild() /*&& gradle.taskGraph.hasTask("uploadArchives") */ }
79-
// def signingKey = findProperty("GPG_SECRET") ?: System.getenv('GPG_SECRET') ?: ""
80-
// def signingPassword = findProperty("GPG_SIGNING_PASSWORD") ?: System.getenv('GPG_SIGNING_PASSWORD') ?: ""
81-
// useInMemoryPgpKeys(signingKey, signingPassword)
82-
// sign(publishing.publications)
79+
def signingKey = findProperty("GPG_SECRET") ?: System.getenv('GPG_SECRET') ?: ""
80+
def signingPassword = findProperty("GPG_SIGNING_PASSWORD") ?: System.getenv('GPG_SIGNING_PASSWORD') ?: ""
81+
useInMemoryPgpKeys(signingKey, signingPassword)
82+
sign(publishing.publications)
8383
}
8484

8585
publishing {

0 commit comments

Comments
 (0)