Repository: cordova-android Updated Branches: refs/heads/master ef268e232 -> bcb10ba6d
Modified build.gradle so that the tests run again Project: http://git-wip-us.apache.org/repos/asf/cordova-android/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-android/commit/bcb10ba6 Tree: http://git-wip-us.apache.org/repos/asf/cordova-android/tree/bcb10ba6 Diff: http://git-wip-us.apache.org/repos/asf/cordova-android/diff/bcb10ba6 Branch: refs/heads/master Commit: bcb10ba6da1fdeb6cf0f09caf71ae6bd91938a9e Parents: ef268e2 Author: Joe Bowser <[email protected]> Authored: Mon Apr 4 14:14:49 2016 -0700 Committer: Joe Bowser <[email protected]> Committed: Mon Apr 4 14:14:57 2016 -0700 ---------------------------------------------------------------------- test/build.gradle | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-android/blob/bcb10ba6/test/build.gradle ---------------------------------------------------------------------- diff --git a/test/build.gradle b/test/build.gradle index 887c507..31e9959 100644 --- a/test/build.gradle +++ b/test/build.gradle @@ -21,11 +21,17 @@ apply plugin: 'android' buildscript { repositories { - mavenCentral() + jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:1.0.0+' + classpath 'com.android.tools.build:gradle:1.5.0+' + } +} + +allprojects { + repositories { + jcenter() } } @@ -56,6 +62,10 @@ android { testInstrumentationRunner "android.test.InstrumentationTestRunner" } + testOptions { + unitTests.returnDefaultValues = true + } + compileSdkVersion cdvCompileSdkVersion buildToolsVersion cdvBuildToolsVersion @@ -69,6 +79,7 @@ dependencies { debugCompile project(path: ":CordovaLib", configuration: "debug") releaseCompile project(path: ":CordovaLib", configuration: "release") androidTestCompile fileTree(dir: 'androidTest/libs', include: '*.jar') + testCompile 'junit:junit:4.12' } task copyCordovaJs (type: Copy) { --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
