aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain-Test
diff options
context:
space:
mode:
authorDominik Schürmann <dominik@dominikschuermann.de>2014-12-04 19:42:30 +0100
committerDominik Schürmann <dominik@dominikschuermann.de>2014-12-04 19:42:30 +0100
commit8f5295f2d13e895490813c0ced19cfd738e591ac (patch)
tree0a2646f1b1419a46a9cc23e97295411949194e10 /OpenKeychain-Test
parent450ac161b9ec8510828877adb33d63ffd7363647 (diff)
downloadopen-keychain-8f5295f2d13e895490813c0ced19cfd738e591ac.tar.gz
open-keychain-8f5295f2d13e895490813c0ced19cfd738e591ac.tar.bz2
open-keychain-8f5295f2d13e895490813c0ced19cfd738e591ac.zip
Update to com.novoda:gradle-android-test-plugin:0.10.0, no snapshot version anymore, jacoco disabled for now
Diffstat (limited to 'OpenKeychain-Test')
-rw-r--r--OpenKeychain-Test/build.gradle51
1 files changed, 25 insertions, 26 deletions
diff --git a/OpenKeychain-Test/build.gradle b/OpenKeychain-Test/build.gradle
index bb6c3d181..83932161f 100644
--- a/OpenKeychain-Test/build.gradle
+++ b/OpenKeychain-Test/build.gradle
@@ -1,14 +1,11 @@
buildscript {
repositories {
- mavenCentral()
- // need this for com.novoda:gradle-android-test-plugin:0.9.9-SNAPSHOT below (0.9.3 in repos doesn't work!)
- // run ./install-custom-gradle-test-plugin.sh to pull the thing into the local repository
- mavenLocal()
+ jcenter()
}
dependencies {
// NOTE: Always use fixed version codes not dynamic ones, e.g. 0.7.3 instead of 0.7.+, see README for more information
- classpath 'com.novoda:gradle-android-test-plugin:0.9.9-SNAPSHOT'
+ classpath 'com.novoda:gradle-android-test-plugin:0.10.0'
}
}
@@ -50,28 +47,30 @@ android {
projectUnderTest ':OpenKeychain'
}
-jacoco {
- toolVersion = "0.7.0.201403182114"
-}
-
-coverageSourceDirs = [
- '../OpenKeychain/src/main/java',
- '../OpenKeychain/src/gen',
- '../OpenKeychain/build/source/apt/debug',
- '../OpenKeychain/build/source/generated/buildConfig/debug',
- '../OpenKeychain/build/source/generated/r/debug'
- ]
+//jacoco {
+// //toolVersion = "0.7.0.201403182114"
+// toolVersion = "0.7.2.201409121644"
+//}
+//
+//
+//coverageSourceDirs = [
+// '../OpenKeychain/src/main/java',
+// '../OpenKeychain/src/gen',
+// '../OpenKeychain/build/source/apt/debug',
+// '../OpenKeychain/build/source/generated/buildConfig/debug',
+// '../OpenKeychain/build/source/generated/r/debug'
+// ]
-jacocoTestReport {
- reports {
- xml.enabled = true
- html.destination "${buildDir}/jacocoHtml"
- }
- // class R is used, but usage will not be covered, so ignore this class from report
- classDirectories = fileTree(dir: '../OpenKeychain/build/intermediates/classes/debug/org/sufficientlysecure/keychain', exclude: [ 'R*.class' ])
- additionalSourceDirs = files(coverageSourceDirs)
- executionData = files('build/jacoco/testDebug.exec')
-}
+//jacocoTestReport {
+// reports {
+// xml.enabled = true
+// html.destination "${buildDir}/jacocoHtml"
+// }
+// // class R is used, but usage will not be covered, so ignore this class from report
+// classDirectories = fileTree(dir: '../OpenKeychain/build/intermediates/classes/debug/org/sufficientlysecure/keychain', exclude: [ 'R*.class' ])
+// additionalSourceDirs = files(coverageSourceDirs)
+// executionData = files('build/jacoco/testDebug.exec')
+//}
// new workaround to force add custom output dirs for android studio
task addTest {