Speed up build: Upgrade to Gradle Android Plugin 0.10.0, Disable Lint
This commit is contained in:
1 parent
4b9607eda0
commit
8e645453b1
6 files changed
+21
-5
No files matched your search
@@ -80,9 +80,12 @@ android {
|
||||
buildTypes.release.signingConfig = null
|
||||
}
|
||||
|
||||
// Do not abort build if lint finds errors
|
||||
// NOTE: Lint is disabled because it slows down builds,
|
||||
// to enable it comment out the code at the bottom of this build.gradle
|
||||
lintOptions {
|
||||
// Do not abort build if lint finds errors
|
||||
abortOnError false
|
||||
|
||||
checkAllWarnings true
|
||||
htmlReport true
|
||||
htmlOutput file("lint-report.html")
|
||||
@@ -103,4 +106,12 @@ task localTest(type: Test, dependsOn: assemble) {
|
||||
classpath = sourceSets.testLocal.runtimeClasspath
|
||||
}
|
||||
|
||||
// NOTE: This disables Lint!
|
||||
tasks.whenTaskAdded { task ->
|
||||
if (task.name.equals("lint")) {
|
||||
task.enabled = false
|
||||
}
|
||||
}
|
||||
|
||||
// NOTE: tests disabled!
|
||||
//check.dependsOn localTest
|
||||
Reference in new issue
Block a user