File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/groovy/com/monits/gradle/sca/config Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -60,12 +60,12 @@ class AndroidLintConfigurator implements AnalysisConfigurator {
6060 private static Class<? extends Task > getLintTaskClass (final Project project ) {
6161 try {
6262 // AGP 3.0+
63- return getClass() . classLoader
63+ return AndroidLintConfigurator . classLoader
6464 .loadClass(' com.android.build.gradle.tasks.LintBaseTask' ) as Class<? extends Task >
6565 } catch (ClassNotFoundException ignored) {
6666 try {
6767 // Older versions
68- return getClass() . classLoader
68+ return AndroidLintConfigurator . classLoader
6969 .loadClass(' com.android.build.gradle.tasks.Lint' ) as Class<? extends Task >
7070 } catch (ClassNotFoundException e) {
7171 // Something went wrong!
You can’t perform that action at this time.
0 commit comments