From 0047896fa2382f626c5a098145c7028672337b0a Mon Sep 17 00:00:00 2001 From: Jonathan Schneider Date: Mon, 11 Dec 2023 21:20:31 -0500 Subject: [PATCH] Extensibility of RewriteClassLoader --- .../main/java/org/openrewrite/gradle/RewriteClassLoader.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plugin/src/main/java/org/openrewrite/gradle/RewriteClassLoader.java b/plugin/src/main/java/org/openrewrite/gradle/RewriteClassLoader.java index 3ee71387a..bce07b99a 100755 --- a/plugin/src/main/java/org/openrewrite/gradle/RewriteClassLoader.java +++ b/plugin/src/main/java/org/openrewrite/gradle/RewriteClassLoader.java @@ -33,8 +33,6 @@ public class RewriteClassLoader extends URLClassLoader { "org.openrewrite.gradle.GradleProjectParser", "org.openrewrite.gradle.DefaultRewriteExtension", "org.openrewrite.gradle.RewriteExtension", - "io.moderne.gradle.SerializingGradleProjectParser", - "io.moderne.gradle.ModerneExtension", "org.slf4j", "org.gradle", "groovy", @@ -70,7 +68,7 @@ protected Class loadClass(String name, boolean resolve) throws ClassNotFoundE return foundClass; } - boolean shouldBeParentLoaded(String name) { + protected boolean shouldBeParentLoaded(String name) { for (String s : loadFromParent) { if (name.startsWith(s)) { return true;