Fix wrong path in previous 'build examples with none/default/all debuginfo.'
Bug:
Change-Id: I180ea8d333d074179b6e4991f937f8b40210f1a4
diff --git a/build.gradle b/build.gradle
index 993e894..f13fa61 100644
--- a/build.gradle
+++ b/build.gradle
@@ -750,11 +750,13 @@
// TODO: Consider performing distinct proguard compilations.
task "jar_example_${name}_debuginfo_all"(type: Copy, dependsOn: "jar_example_${name}") {
from "${exampleOutputDir}/${name}.jar"
- into "${exampleOutputDir}/${name}_debuginfo_all.jar"
+ into "${exampleOutputDir}"
+ rename(".*", "${name}_debuginfo_all.jar")
}
task "jar_example_${name}_debuginfo_none"(type: Copy, dependsOn: "jar_example_${name}") {
from "${exampleOutputDir}/${name}.jar"
- into "${exampleOutputDir}/${name}_debuginfo_none.jar"
+ into "${exampleOutputDir}"
+ rename(".*", "${name}_debuginfo_none.jar")
}
} else {
task "jar_example_${name}"(type: Jar, dependsOn: "compile_examples") {