mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-11 03:25:05 -05:00
Comment out localTest due to bug on windows
This commit is contained in:
parent
834eb41932
commit
191dcf0c31
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user