| OLD | NEW |
| (Empty) |
| 1 apply plugin: 'com.android.application' | |
| 2 | |
| 3 allprojects { | |
| 4 repositories { | |
| 5 mavenLocal() | |
| 6 mavenCentral() | |
| 7 } | |
| 8 } | |
| 9 | |
| 10 repositories { | |
| 11 mavenLocal() | |
| 12 mavenCentral() | |
| 13 } | |
| 14 | |
| 15 android { | |
| 16 compileSdkVersion 21 | |
| 17 buildToolsVersion "25.0.0" | |
| 18 | |
| 19 defaultConfig { | |
| 20 applicationId "org.adblockplus.libadblockplus.tests" | |
| 21 minSdkVersion 21 | |
| 22 targetSdkVersion 21 | |
| 23 versionCode 1 | |
| 24 versionName "1.0" | |
| 25 } | |
| 26 | |
| 27 sourceSets { | |
| 28 main { | |
| 29 manifest.srcFile 'AndroidManifest.xml' | |
| 30 } | |
| 31 | |
| 32 androidTest { | |
| 33 manifest.srcFile 'AndroidManifest.xml' | |
| 34 java.srcDirs = ['src'] | |
| 35 res.srcDirs = ['res'] | |
| 36 | |
| 37 jni { | |
| 38 dependencies { | |
| 39 project(path: ":libadblockplus-android", configuration: getAbiFlavor()
+ "Debug") | |
| 40 } | |
| 41 } | |
| 42 } | |
| 43 } | |
| 44 } | |
| 45 | |
| 46 dependencies { | |
| 47 androidTestCompile project(path: ':libadblockplus-android', configuration: get
AbiFlavor() + "Debug") | |
| 48 androidTestCompile project(':libadblockplus-android-settings') | |
| 49 androidTestCompile fileTree(include: ['*.jar'], dir: 'libs') | |
| 50 | |
| 51 androidTestCompile 'org.mockito:mockito-core:1.10.19' | |
| 52 androidTestCompile 'com.google.dexmaker:dexmaker:1.2' | |
| 53 androidTestCompile 'com.google.dexmaker:dexmaker-mockito:1.2' | |
| 54 } | |
| OLD | NEW |