Browse Source

build without failing on lints

David 9 years atrás
parent
commit
97d336f61a
1 changed files with 6 additions and 0 deletions
  1. 6 0
      app/build.gradle

+ 6 - 0
app/build.gradle

@@ -1,6 +1,10 @@
 apply plugin: 'com.android.application'
 
 android {
+	// This is important, it will run lint checks but won't abort build
+	lintOptions {
+	    abortOnError false
+	}
     compileSdkVersion 24
     buildToolsVersion "25.0.2"
     defaultConfig {
@@ -31,5 +35,7 @@ dependencies {
     compile 'com.android.support:recyclerview-v7:24.2.1'
     compile 'com.android.support:support-vector-drawable:24.2.1'
     compile 'org.honorato.multistatetogglebutton:multistatetogglebutton:0.2.2'
+    compile 'com.google.code.gson:gson:2.6.2'
+
     testCompile 'junit:junit:4.12'
 }