Skip to content

Commit

Permalink
build: small cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jarnedemeulemeester committed Aug 21, 2023
1 parent f8ddfb7 commit 0995027
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions libmpv/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ dependencies {
implementation(libs.androidx.annotation)
}

configure<PublishingExtension> {
publishing {
publications {
create<MavenPublication>("release") {
groupId = "dev.jdtech.mpv"
Expand Down Expand Up @@ -81,13 +81,11 @@ configure<PublishingExtension> {
}
}

configure<SigningExtension> {
signing {
useInMemoryPgpKeys(
rootProject.ext["signing.keyId"]?.toString(),
rootProject.ext["signing.key"]?.toString(),
rootProject.ext["signing.password"]?.toString(),
)
sign {
extensions.getByType<PublishingExtension>().publications
}
sign(publishing.publications)
}

0 comments on commit 0995027

Please sign in to comment.