Skip to content

Commit

Permalink
Merge pull request #16 from GradleUp/remove-from-assemble
Browse files Browse the repository at this point in the history
Do not try to publish locally as part of `./gradlew build` or `./gradlew assemble`
  • Loading branch information
martinbonnin committed Jul 21, 2024
2 parents dfd6028 + 98b355f commit b6325ea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/kotlin/nmcp/NmcpPlugin.kt
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ class NmcpPlugin: Plugin<Project> {
target.configurations.create(configurationName) {
it.isCanBeConsumed = true
it.isCanBeResolved = false
// See https://github.com/GradleUp/nmcp/issues/2
it.isVisible = false

it.configureAttributes(target)
}
Expand Down

0 comments on commit b6325ea

Please sign in to comment.