Skip to content

Commit

Permalink
Fixing library publish bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mirzemehdi committed Nov 12, 2023
1 parent 3efb521 commit 1431350
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ permissions:
jobs:
check:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- uses: actions/checkout@v3
- name: Setup JDK 17
Expand Down
8 changes: 7 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ plugins {
}

group = "io.github.mirzemehdi"
version = "0.1.0-SNAPSHOT"
version = "0.1.1"

allprojects {
val sonatypeUsername = gradleLocalProperties(rootDir).getProperty("sonatypeUsername")
Expand Down Expand Up @@ -55,6 +55,7 @@ allprojects {
withType<MavenPublication> {
artifact(javadocJar)
pom {
groupId="io.github.mirzemehdi"
name.set("KMPNotifier")
description.set(" Kotlin Multiplatform Notification Library targeting ios and android")
licenses {
Expand Down Expand Up @@ -88,6 +89,11 @@ allprojects {
useInMemoryPgpKeys(gpgKeySecret, gpgKeyPassword)
sign(publishing.publications)
}

// TODO: remove after https://youtrack.jetbrains.com/issue/KT-46466 is fixed
project.tasks.withType(AbstractPublishToMaven::class.java).configureEach {
dependsOn(project.tasks.withType(Sign::class.java))
}
}


0 comments on commit 1431350

Please sign in to comment.