aboutsummaryrefslogtreecommitdiffstats
path: root/app/build.gradle
diff options
context:
space:
mode:
authorKenny Root <kenny@the-b.org>2015-08-27 23:54:28 -0700
committerKenny Root <kenny@the-b.org>2015-08-27 23:56:01 -0700
commitf6ef2b5e6a4f33ce1d14c5a0d802b30a446ae2bf (patch)
treec8550931954db1ce4bddc2a9fb6d80b0056cfba4 /app/build.gradle
parentf2214b61c7d9f8efa976e36ab05690c9d5ff1f42 (diff)
downloadconnectbot-f6ef2b5e6a4f33ce1d14c5a0d802b30a446ae2bf.tar.gz
connectbot-f6ef2b5e6a4f33ce1d14c5a0d802b30a446ae2bf.tar.bz2
connectbot-f6ef2b5e6a4f33ce1d14c5a0d802b30a446ae2bf.zip
Fix the Jacoco rules now that we have two kinds of tests
Since we have both "test" and "androidTest" they have different task names that we need to track in the Jacoco file.
Diffstat (limited to 'app/build.gradle')
-rw-r--r--app/build.gradle2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/build.gradle b/app/build.gradle
index e1893d3..e02e5bd 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -126,7 +126,7 @@ android.applicationVariants.all { variant ->
ext.env = System.getenv()
def buildNumber = getGitDescription()
if (buildNumber != null) {
- File valuesFile = file("${buildDir}/intermediates/res/${variant.dirName}/values/values.xml")
+ File valuesFile = file("${buildDir}/intermediates/res/merged/${variant.dirName}/values/values.xml")
String content = valuesFile.getText('UTF-8')
content = content.replaceAll(/\(working copy\)/, buildNumber)
valuesFile.write(content, 'UTF-8')