From 191dcf0c31bdc7e3746cebee3f3994671c84f89b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Sch=C3=BCrmann?= Date: Sun, 6 Apr 2014 20:52:44 +0200 Subject: [PATCH] Comment out localTest due to bug on windows --- OpenKeychain/build.gradle | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/OpenKeychain/build.gradle b/OpenKeychain/build.gradle index 3fcdf790b..3011d4af8 100644 --- a/OpenKeychain/build.gradle +++ b/OpenKeychain/build.gradle @@ -88,18 +88,18 @@ android { } } -task localTest(type: Test, dependsOn: assemble) { - testClassesDir = sourceSets.testLocal.output.classesDir - - android.sourceSets.main.java.srcDirs.each { dir -> - def buildDir = dir.getAbsolutePath().split('/') - buildDir = (buildDir[0..(buildDir.length - 4)] + ['build', 'classes', 'debug']).join('/') - - sourceSets.testLocal.compileClasspath += files(buildDir) - sourceSets.testLocal.runtimeClasspath += files(buildDir) - } - - classpath = sourceSets.testLocal.runtimeClasspath -} +//task localTest(type: Test, dependsOn: assemble) { +// testClassesDir = sourceSets.testLocal.output.classesDir +// +// android.sourceSets.main.java.srcDirs.each { dir -> +// def buildDir = dir.getAbsolutePath().split('/') +// buildDir = (buildDir[0..(buildDir.length - 4)] + ['build', 'classes', 'debug']).join('/') +// +// sourceSets.testLocal.compileClasspath += files(buildDir) +// sourceSets.testLocal.runtimeClasspath += files(buildDir) +// } +// +// classpath = sourceSets.testLocal.runtimeClasspath +//} //check.dependsOn localTest