Skip to content

Commit

Permalink
Fix plugin publishing (#510)
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszkwiecinski authored Jun 24, 2023
1 parent b74a5b5 commit f86bee8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ jobs:

- run: ./gradlew publishToMavenLocal

- run: ./gradlew publishPlugins --dry-run

- run: git diff --exit-code

build-all-sample-android-projects:
Expand Down
1 change: 1 addition & 0 deletions gradle/plugins/src/main/kotlin/PublishingPlugin.kt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ class PublishingPlugin : Plugin<Project> {

override fun apply(target: Project) = with(target) {
pluginManager.apply("maven-publish")
pluginManager.apply("com.gradle.plugin-publish")
if (findConfig("SIGNING_PASSWORD").isNotEmpty()) {
pluginManager.apply("signing")
}
Expand Down

0 comments on commit f86bee8

Please sign in to comment.