We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d76c975 commit ded6d08Copy full SHA for ded6d08
src/main/groovy/com/monits/gradle/sca/AndroidHelper.groovy
@@ -147,7 +147,7 @@ final class AndroidHelper {
147
* @return The version of the used plugin, or {@see VersionNumber#UNKNOWN} if not known.
148
*/
149
private static VersionNumber getCurrentVersion(final Project project) {
150
- File androidDependency = project.rootProject.buildscript.configurations.getByName('classpath').resolve()
+ File androidDependency = project.buildscript.configurations.getByName('classpath').resolve()
151
.find { it =~ ANDROID_DEPENDENCY_PATTERN }
152
Matcher matcher = androidDependency =~ ANDROID_DEPENDENCY_PATTERN
153
0 commit comments