Skip to content

Commit 2016e7e

Browse files
committed
don't abort build process on lint error
1 parent 268507b commit 2016e7e

6 files changed

+18
-0
lines changed

templates/AppBuild.gradle.tmpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ android {
2424
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
2525
}
2626
}
27+
lintOptions {
28+
abortOnError false
29+
}
2730
}
2831

2932
dependencies {

templates/AppBuildECJ.gradle.tmpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ android {
2424
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
2525
}
2626
}
27+
lintOptions {
28+
abortOnError false
29+
}
2730

2831
// We create a variant of the compile task, where we use the Eclipse Compiler for Java
2932
// (ECJ) instead of the JDK (which would require the user to download and install

templates/VRBuild.gradle.tmpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ android {
2222
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
2323
}
2424
}
25+
lintOptions {
26+
abortOnError false
27+
}
2528
}
2629

2730
dependencies {

templates/VRBuildECJ.gradle.tmpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ android {
2222
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
2323
}
2424
}
25+
lintOptions {
26+
abortOnError false
27+
}
2528

2629
// We create a variant of the compile task, where we use the Eclipse Compiler for Java
2730
// (ECJ) instead of the JDK (which would require the user to download and install

templates/WearBuild.gradle.tmpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ android {
2222
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
2323
}
2424
}
25+
lintOptions {
26+
abortOnError false
27+
}
2528
}
2629

2730
dependencies {

templates/WearBuildECJ.gradle.tmpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ android {
2222
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
2323
}
2424
}
25+
lintOptions {
26+
abortOnError false
27+
}
2528

2629
// We create a variant of the compile task, where we use the Eclipse Compiler for Java
2730
// (ECJ) instead of the JDK (which would require the user to download and install

0 commit comments

Comments
 (0)