Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ android-gradle-plugin = "9.3.0"
gradle-maven-publish-plugin = "0.34.0"
spotless = "8.4.0"
errorprone-plugin = "5.1.0"
shadow = "8.3.8"
shadow = "9.6.1"
jmh = "0.7.3"
versions-plugin = "0.53.0"
shellcheck = "1.5.0"
Expand Down
5 changes: 4 additions & 1 deletion jar-infer/jar-infer-cli/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ jar {

shadowJar {
mergeServiceFiles()
filesMatching("META-INF/services/**") {
duplicatesStrategy = DuplicatesStrategy.INCLUDE
}
configurations = [
project.configurations.runtimeClasspath
]
Expand Down Expand Up @@ -68,7 +71,7 @@ tasks.withType(PublishToMavenLocal) {
publishing {
publications {
shadow(MavenPublication) { publication ->
project.shadow.component(publication)
from components.shadow
// Since we are skipping the default maven publication, we append the `:sources` and
// `:javadoc` artifacts here. They are also required for Maven Central validation.
afterEvaluate {
Expand Down
3 changes: 3 additions & 0 deletions jdk-annotations/astubx-generator-cli/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ jar{

shadowJar {
mergeServiceFiles()
filesMatching("META-INF/services/**") {
duplicatesStrategy = DuplicatesStrategy.INCLUDE
}
configurations = [
project.configurations.runtimeClasspath
]
Expand Down