Better development workflow

This commit is contained in:
topjohnwu
2021-01-23 16:50:55 -08:00
parent f2ca042915
commit b4e52f6135
3 changed files with 64 additions and 3 deletions

View File

@@ -89,9 +89,10 @@ val syncLibs by tasks.registering(Sync::class) {
rename { if (it == "magisk") "libmagisk64.so" else "lib$it.so" }
}
}
doFirst {
onlyIf {
if (inputs.sourceFiles.files.size != 10)
throw StopExecutionException("Build binary files first")
throw StopExecutionException("Please build binaries first! (./build.py binary)")
true
}
}