Skip to content

Commit

Permalink
Config for jetpack
Browse files Browse the repository at this point in the history
  • Loading branch information
Wavesonics committed Dec 6, 2024
1 parent 467448f commit b245b38
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
14 changes: 8 additions & 6 deletions convention-plugins/src/main/kotlin/module.publication.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,14 @@ publishing {
}

signing {
useInMemoryPgpKeys(
System.getenv("OSSRH_GPG_SECRET_KEY_ID"),
System.getenv("OSSRH_GPG_SECRET_KEY"),
System.getenv("OSSRH_GPG_SECRET_KEY_PASSWORD"),
)
sign(publishing.publications)
if(System.getenv("OSSRH_GPG_SECRET_KEY") != null) {
useInMemoryPgpKeys(
System.getenv("OSSRH_GPG_SECRET_KEY_ID"),
System.getenv("OSSRH_GPG_SECRET_KEY"),
System.getenv("OSSRH_GPG_SECRET_KEY_PASSWORD"),
)
sign(publishing.publications)
}
}

// TODO: remove after https://youtrack.jetbrains.com/issue/KT-46466 is fixed
Expand Down
4 changes: 4 additions & 0 deletions jitpack.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
jdk:
- openjdk11
install:
- ./gradlew build publishToMavenLocal -x test

0 comments on commit b245b38

Please sign in to comment.