Skip to content

Commit baf187d

Browse files
authored
Fix stable plugin API backward compatibility checks (#95348)
When resolving the JARs for checking stable plugin API compatibility we want to disable transitive dependency resolution since we just need the API jar, not any of its dependencies.
1 parent 91c1df5 commit baf187d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build-tools-internal/src/main/groovy/elasticsearch.stable-api.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ import org.elasticsearch.gradle.internal.info.BuildParams
88
import static org.elasticsearch.gradle.internal.InternalDistributionBwcSetupPlugin.buildBwcTaskName
99

1010
configurations {
11-
newJar
11+
newJar {
12+
transitive = false
13+
}
1214
}
1315

1416
dependencies {

0 commit comments

Comments
 (0)