1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-12-01 16:51:16 +00:00

Update build.gradle to work with gradlew 5.4.1, disable lint

This commit is contained in:
Catfriend1 2019-06-15 11:40:02 +02:00
parent de6e882a45
commit a3af549804

View file

@ -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
} }
} }