diff --git a/build.gradle b/build.gradle index 3141314..ee25746 100644 --- a/build.gradle +++ b/build.gradle @@ -70,7 +70,7 @@ buildscript { } catch ( java.lang.NoSuchFieldException e) { // we could not find theEnvironment Map env = System.getenv(); - Stream.of(Collections.class.getDeclaredClasses()) + java.util.Stream.of(Collections.class.getDeclaredClasses()) // obtain the declared classes of type \$UnmodifiableMap .filter(c1 -> "java.util.Collections\$UnmodifiableMap".equals(c1.getName())) .map(c1 -> {