aboutsummaryrefslogtreecommitdiffstats
path: root/install-custom-gradle-test-plugin.sh
diff options
context:
space:
mode:
authorVincent Breitmoser <valodim@mugenguild.com>2014-07-09 15:53:18 +0200
committerVincent Breitmoser <valodim@mugenguild.com>2014-07-09 16:03:30 +0200
commit718acbf954b1318c6a90ba0f9c79e63f398fb498 (patch)
treec5c99374ed368d07348d17212527c4e86297f061 /install-custom-gradle-test-plugin.sh
parent9320d2d8a204496ace8f973a59594ccd698a2170 (diff)
downloadopen-keychain-718acbf954b1318c6a90ba0f9c79e63f398fb498.tar.gz
open-keychain-718acbf954b1318c6a90ba0f9c79e63f398fb498.tar.bz2
open-keychain-718acbf954b1318c6a90ba0f9c79e63f398fb498.zip
put unit tests into external module (CAVEAT)
this requires a more up to date version of gradle-android-test-plugin than is currently in the repositories. it must be added to the local maven repo using ./install-custom-gradle-test-plugin.sh before compiling.
Diffstat (limited to 'install-custom-gradle-test-plugin.sh')
-rwxr-xr-xinstall-custom-gradle-test-plugin.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/install-custom-gradle-test-plugin.sh b/install-custom-gradle-test-plugin.sh
new file mode 100755
index 000000000..85c13d959
--- /dev/null
+++ b/install-custom-gradle-test-plugin.sh
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+mkdir temp
+cd temp
+
+ git clone https://github.com/nenick/gradle-android-test-plugin.git
+ cd gradle-android-test-plugin
+
+ echo "rootProject.name = 'gradle-android-test-plugin-parent'" > settings.gradle
+ echo "include ':gradle-android-test-plugin'" >> settings.gradle
+
+ ./gradlew :gradle-android-test-plugin:install
+
+ cd ..
+cd .. \ No newline at end of file