So, first, some information about my setup. I'm trying to build an app, that includes different modules, in Android Studio. I have the following dependencies in my top-level build.gradle file:
dependencies {
classpath 'com.android.tools.build:gradle-experimental:0.9.3'
classpath 'com.android.tools.build:gradle:2.3.3'
classpath 'org.moallemi.gradle.advanced-build-version:gradle-plugin:1.5.3'
classpath 'com.google.gms:google-services:3.0.0'
}
I tried to disable Lint in one of my modules, because I was getting Lint errors that I'll investigate later (for the moment, I just want to get a build going). I used the following setting in one of my modules:
android {
[...]
lintOptions {
abortOnError false
}
[...]
}
However, I'm getting the following error:
Error:(48, 0) No signature of method:
com.android.build.gradle.managed.AndroidConfig.lintOptions() is applicable for argument types:
(build_9pxacuo2f46evz0elkujz25xa$_run_closure1$_closure4$_closure11)
values:[build_9pxacuo2f46evz0elkujz25xa$_run_closure1$_closure4$_closure11@96dc8be]
I already researched the appropriate documentation, and things seem to be right:
https://developer.android.com/studio/build/gradle-tips.html
What could I be doing wrong here? Many thanks for any help on this matter.