Fix building the release APK with gradle.

In release build all warnings are errors, and lint has some obnoxious warnings.
This commit is contained in:
Ryan Houdek 2014-03-17 16:28:31 -05:00
parent 154dee8c6c
commit adaf095229
1 changed files with 6 additions and 0 deletions

View File

@ -29,6 +29,12 @@ android {
compileTask -> compileTask.dependsOn(nativeLibsToJar)
}
lintOptions {
// This is important as it will run lint but not abort on error
// Lint has some overly obnoxious "errors" that should really be warnings
abortOnError false
}
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'