Skip to content

Commit

Permalink
[Build] Workaround the publication problem in :kotlin-gradle-subplugi…
Browse files Browse the repository at this point in the history
…n-example

The problem is caused by `:kotlin-gradle-subplugin-example:embeddableJar` overwriting the output file of `:kotlin-gradle-subplugin-example:jar` causing Gradle  to think that :kotlin-gradle-subplugin-example:generateMetadataFileForPluginMavenPublication uses outputs of both tasks
  • Loading branch information
ALikhachev committed Sep 8, 2023
1 parent 2476358 commit c64f614
Showing 1 changed file with 6 additions and 0 deletions.
Expand Up @@ -111,6 +111,12 @@ tasks.withType(PublishToMavenRepository)
}
}

afterEvaluate {
tasks.named("generateMetadataFileForPluginMavenPublication") {
enabled = false
}
}

tasks.named("publishPlugins") {
enabled = false
}

0 comments on commit c64f614

Please sign in to comment.