From 9995fcbeb5fca873b17fad18c55270652786c087 Mon Sep 17 00:00:00 2001 From: Howard Wu <40033067+Howard20181@users.noreply.github.com> Date: Mon, 18 Oct 2021 14:39:57 +0800 Subject: [PATCH] [gradle] Fix re-run (#1309) --- core/build.gradle.kts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/build.gradle.kts b/core/build.gradle.kts index 2c6d4fc7..f7ee95f5 100644 --- a/core/build.gradle.kts +++ b/core/build.gradle.kts @@ -359,12 +359,12 @@ val killLspd = task("killLspd", Exec::class) { isIgnoreExitValue = true } val pushLspd = task("pushLspd", Exec::class) { - dependsOn("mergeDexDebug") - workingDir("$buildDir/intermediates/dex/debug/mergeDexDebug") + dependsOn("mergeDexRiruDebug") + workingDir("$buildDir/intermediates/dex/RiruDebug/mergeDexRiruDebug") commandLine(adb, "push", "classes.dex", "/data/local/tmp/lspd.dex") } val pushLspdNative = task("pushLspdNative", Exec::class) { - dependsOn("mergeDebugNativeLibs") + dependsOn("mergeRiruDebugNativeLibs") doFirst { val abi: String = ByteArrayOutputStream().use { outputStream -> exec { @@ -373,7 +373,7 @@ val pushLspdNative = task("pushLspdNative", Exec::class) { } outputStream.toString().trim() } - workingDir("$buildDir/intermediates/merged_native_libs/debug/out/lib/$abi") + workingDir("$buildDir/intermediates/merged_native_libs/RiruDebug/out/lib/$abi") } commandLine(adb, "push", "libdaemon.so", "/data/local/tmp/libdaemon.so") }