Skip to content

Commit

Permalink
Updates publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
yannickpulver committed Feb 6, 2023
1 parent d7d10b1 commit 101cb7d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Publish with Gradle
run: ./gradlew :lib:publishAllPublicationsToMavenCentralRepository
run: ./gradlew publish
env:
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_NEXUS_USERNAME }}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }}
Expand Down
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,4 @@ plugins {
id 'org.jetbrains.kotlin.android' version "$kotlin_version" apply false
id 'org.jetbrains.kotlin.jvm' version "$kotlin_version" apply false
}

5 changes: 3 additions & 2 deletions lib/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
plugins {
id 'groovy'
id 'maven-publish'
id 'java-gradle-plugin'
id 'com.vanniktech.maven.publish'
}
Expand All @@ -22,4 +21,6 @@ test {
testLogging {
events "passed", "skipped", "failed", "standardOut", "standardError"
}
}
}


0 comments on commit 101cb7d

Please sign in to comment.