Fix gradle build: dont abort on lint errors

This commit is contained in:
Dominik Schürmann 2015-01-19 15:07:52 +01:00
parent 85b7e77324
commit bfc35691b6

View File

@ -160,6 +160,12 @@ subprojects {
} catch (GradleException e) { } catch (GradleException e) {
logger.info("Tried to set the buildToolsVersion, however we were not allowed to: $e.message") logger.info("Tried to set the buildToolsVersion, however we were not allowed to: $e.message")
} }
// don't abort build on lint errors
// http://stackoverflow.com/a/25149514
configure(android.lintOptions) {
abortOnError false
}
} }
} }
} }