Place r8 with relocated deps into build/libs/r8.jar
Place r8lib excluding deps in to build/libs
Change-Id: I4d59a9cd0d330ecd03d2f169bbdcac21f67a1ec3
diff --git a/d8_r8/main/build.gradle.kts b/d8_r8/main/build.gradle.kts
index 5ddc69a..c34d924 100644
--- a/d8_r8/main/build.gradle.kts
+++ b/d8_r8/main/build.gradle.kts
@@ -168,7 +168,7 @@
val swissArmy = swissArmyKnife.get().outputs.getFiles().getSingleFile()
val deps = depsJar.get().outputs.files.getSingleFile()
inputs.files(listOf(swissArmy, deps))
- val output = getRoot().resolveAll("build", "libs", "r8-with-relocated-deps.jar")
+ val output = getRoot().resolveAll("build", "libs", "r8.jar")
outputs.file(output)
commandLine = baseCompilerCommandLine(
swissArmy,
diff --git a/d8_r8/test/build.gradle.kts b/d8_r8/test/build.gradle.kts
index d73a82d..2e5d20f 100644
--- a/d8_r8/test/build.gradle.kts
+++ b/d8_r8/test/build.gradle.kts
@@ -94,7 +94,7 @@
val r8Jar = swissArmyKnifeTask.outputs.files.getSingleFile()
val deps = mainDepsJarTask.outputs.files.getSingleFile()
inputs.files(listOf(r8Compiler, r8Jar, deps))
- val output = file(Paths.get("build", "libs", "r8lib-exclude-deps.jar"))
+ val output = getRoot().resolveAll("build", "libs", "r8lib-exclude-deps.jar")
outputs.file(output)
commandLine = createR8LibCommandLine(
r8Compiler,