Skip to content

Commit

Permalink
Add platform loader to Gradle provided class file locator.
Browse files Browse the repository at this point in the history
  • Loading branch information
raphw committed Aug 9, 2023
1 parent d769265 commit 4a5bdc0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,7 @@ protected void doApply(Plugin.Engine.Source source, Plugin.Engine.Target target)
}
}
List<ClassFileLocator> classFileLocators = new ArrayList<ClassFileLocator>();
classFileLocators.add(ClassFileLocator.ForClassLoader.ofPlatformLoader());
for (File artifact : classPath()) {
classFileLocators.add(artifact.isFile()
? ClassFileLocator.ForJarFile.of(artifact)
Expand Down

0 comments on commit 4a5bdc0

Please sign in to comment.