File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -248,15 +248,15 @@ private void configureJavaBaseModuleOptions(Project project) {
248248 test .systemProperty ("tests.hackImmutableCollections" , "true" );
249249 }
250250
251- FileCollection entitlementBridgeJar = entitlementBridgeJar (project );
252- if (entitlementBridgeJar != null ) {
253- test .getInputs ().files (entitlementBridgeJar );
251+ FileCollection entitlementBridge = entitlementBridge (project );
252+ if (entitlementBridge != null ) {
253+ test .getInputs ().files (entitlementBridge );
254254 }
255255
256256 test .getJvmArgumentProviders ().add (() -> {
257257 String javaBasePatch = Stream .concat (
258258 singleFilePath (patchedImmutableCollections ).map (str -> str + "/java.base" ),
259- singleFilePath (entitlementBridgeJar )
259+ singleFilePath (entitlementBridge )
260260 ).collect (joining (File .pathSeparator ));
261261
262262 return javaBasePatch .isEmpty ()
@@ -283,8 +283,8 @@ private static FileCollection patchedImmutableCollections(Project project) {
283283 return patchedFileCollection ;
284284 }
285285
286- private static FileCollection entitlementBridgeJar (Project project ) {
287- return project .getConfigurations ().findByName ("entitlementBridgeJar " );
286+ private static FileCollection entitlementBridge (Project project ) {
287+ return project .getConfigurations ().findByName ("entitlementBridge " );
288288 }
289289
290290 /**
You can’t perform that action at this time.
0 commit comments