1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-27 00:38:11 -07:00

Fix bogus dependency.

This commit is contained in:
Cedric Beust 2015-11-26 20:14:33 -08:00
parent 821279858c
commit ea7c4abcc9

View file

@ -313,8 +313,7 @@ public class AndroidPlugin @Inject constructor(val javaCompiler: JavaCompiler, v
return TaskResult() return TaskResult()
} }
@Task(name = "install", description = "Install the apk file", runAfter = arrayOf(TASK_GENERATE_DEX), @Task(name = "install", description = "Install the apk file", runAfter = arrayOf(TASK_GENERATE_DEX, "assemble"))
runBefore = arrayOf("assemble"))
fun taskInstall(project: Project): TaskResult { fun taskInstall(project: Project): TaskResult {
val apk = apk(project, context.variant.shortArchiveName) val apk = apk(project, context.variant.shortArchiveName)
RunCommand(adb(project)).useErrorStreamAsErrorIndicator(false).run(args = listOf( RunCommand(adb(project)).useErrorStreamAsErrorIndicator(false).run(args = listOf(