Skip to content

Commit

Permalink
fix release build
Browse files Browse the repository at this point in the history
  • Loading branch information
breedx-splk committed Aug 31, 2023
1 parent f9e2aef commit 511d1c5
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,6 @@ android.publishing {
}


if (isARelease && project.findProperty("skipSigning") != "true") {
signing {
useGpgCmd()
val signingKey: String? by project
val signingPassword: String? by project
useInMemoryPgpKeys(signingKey, signingPassword)
sign(publishing.publications["maven"])
}
}

project.afterEvaluate {
val javadoc by tasks.registering(Javadoc::class) {
Expand Down Expand Up @@ -97,4 +88,13 @@ project.afterEvaluate {
}
}
}
if (isARelease && project.findProperty("skipSigning") != "true") {
signing {
useGpgCmd()
val signingKey: String? by project
val signingPassword: String? by project
useInMemoryPgpKeys(signingKey, signingPassword)
sign(publishing.publications["maven"])
}
}
}

0 comments on commit 511d1c5

Please sign in to comment.