diff --git a/build.gradle b/build.gradle index 0a9cb96..55c4f54 100644 --- a/build.gradle +++ b/build.gradle @@ -63,7 +63,7 @@ tasks.register("javadocAll", Javadoc) { // Fix module collisions doFirst { - Logger.log(LogLevel.WARN, "If this task fails, make sure to reset all module-info.java files using git or you may encounter issues.") + getLogger().log(LogLevel.WARN, "If this task fails, make sure to reset all module-info.java files using git or you may encounter issues.") for (String subproject : subprojects) { File source = new File(project(subproject).projectDir.getPath() + "/src/main/java/module-info.java")