File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
build-tools-internal/src/main/groovy Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -22,13 +22,12 @@ Closure checkDeps = { Configuration configuration ->
2222 }
2323}
2424
25- subprojects {
26- if (project. path. startsWith(' :test:fixtures:' ) || project. path. equals(' :build-tools' )) {
27- // fixtures are allowed to use whatever dependencies they want...
28- return
29- }
30- pluginManager. withPlugin(' java' ) {
31- checkDeps(configurations. compileClasspath)
32- checkDeps(configurations. testCompileClasspath)
33- }
25+ if (project. path. startsWith(' :test:fixtures:' ) || project. path. equals(' :build-tools' )) {
26+ // fixtures are allowed to use whatever dependencies they want...
27+ return
28+ }
29+
30+ pluginManager. withPlugin(' java' ) {
31+ checkDeps(configurations. compileClasspath)
32+ checkDeps(configurations. testCompileClasspath)
3433}
Original file line number Diff line number Diff line change @@ -175,4 +175,5 @@ gradle.lifecycle.beforeProject {
175175 // unfortunately we cannot nest script plugins
176176 apply plugin : ' elasticsearch.eclipse'
177177 apply plugin : ' elasticsearch.formatting'
178+ apply plugin : ' elasticsearch.forbidden-dependencies'
178179}
You can’t perform that action at this time.
0 commit comments