Skip to content

Commit

Permalink
Skip publishing shaded artifacts
Browse files Browse the repository at this point in the history
Closes gh-8
  • Loading branch information
sjohnr committed Jan 24, 2024
1 parent dcfb376 commit 1b8b4e3
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
15 changes: 15 additions & 0 deletions api/github/github-api.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,18 @@ dependencies {
testImplementation "org.mockito:mockito-core"
testImplementation "com.squareup.okhttp3:mockwebserver"
}

/*
* The following tasks disabled since these dependencies
* are shaded via the Shadow plugin.
*/

tasks.withType(PublishToMavenRepository).configureEach {
enabled = false
}

tasks.withType(PublishToMavenLocal).configureEach {
enabled = false
}

artifactoryPublish.enabled = false
15 changes: 15 additions & 0 deletions api/sagan/sagan-api.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,18 @@ dependencies {
testImplementation "org.mockito:mockito-core"
testImplementation "com.squareup.okhttp3:mockwebserver"
}

/*
* The following tasks disabled since these dependencies
* are shaded via the Shadow plugin.
*/

tasks.withType(PublishToMavenRepository).configureEach {
enabled = false
}

tasks.withType(PublishToMavenLocal).configureEach {
enabled = false
}

artifactoryPublish.enabled = false

0 comments on commit 1b8b4e3

Please sign in to comment.