mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-12-02 01:01:17 +00:00
Update build.gradle to work with gradlew 5.4.1, disable lint
This commit is contained in:
parent
de6e882a45
commit
a3af549804
1 changed files with 4 additions and 4 deletions
|
@ -61,8 +61,8 @@ android {
|
||||||
}
|
}
|
||||||
debug {
|
debug {
|
||||||
gradle.buildFinished {
|
gradle.buildFinished {
|
||||||
buildResult -> if (!buildResult.failure) {
|
buildResult -> if (buildResult.failure) {
|
||||||
postBuildScript.execute()
|
logger.lifecycle("BUILD FAILED")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -87,8 +87,8 @@ play {
|
||||||
|
|
||||||
tasks.whenTaskAdded { task ->
|
tasks.whenTaskAdded { task ->
|
||||||
if (task.name == 'compileDebugSources') {
|
if (task.name == 'compileDebugSources') {
|
||||||
task.dependsOn lint
|
// task.dependsOn lint
|
||||||
task.mustRunAfter lint
|
// task.mustRunAfter lint
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue