Skip to content

Commit

Permalink
Fix method name.
Browse files Browse the repository at this point in the history
  • Loading branch information
raphw committed Nov 23, 2023
1 parent 068c730 commit 1bce7c0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ protected static class JavaConventionConfiguration {
try {
javaPluginConvention = Class.forName("org.gradle.api.plugins.JavaPluginConvention");
getConvention = Project.class.getMethod("getConvention");
findPlugin = Class.forName("org.gradle.api.plugins.Convention").getMethod("findClass", Class.class);
findPlugin = Class.forName("org.gradle.api.plugins.Convention").getMethod("findPlugin", Class.class);
getSourceSetsConvention = javaPluginConvention.getMethod("getSourceSets");
getTargetCompatibilityConvention = javaPluginConvention.getMethod("getTargetCompatibility");
} catch (Throwable ignored) {
Expand Down

0 comments on commit 1bce7c0

Please sign in to comment.