LEFT | RIGHT |
(no file at all) | |
1 apply plugin: 'com.android.application' | 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 | 2 |
15 android { | 3 android { |
16 compileSdkVersion 21 | 4 compileSdkVersion 21 |
17 buildToolsVersion "25.0.0" | 5 buildToolsVersion '27.0.3' |
18 | 6 |
19 defaultConfig { | 7 defaultConfig { |
20 applicationId "org.adblockplus.libadblockplus.tests" | 8 applicationId "org.adblockplus.libadblockplus.tests" |
21 minSdkVersion 21 | 9 minSdkVersion 21 |
22 targetSdkVersion 21 | 10 targetSdkVersion 21 |
23 versionCode 2 | 11 versionCode 2 |
24 versionName "1.1" | 12 versionName "1.1" |
| 13 missingDimensionStrategy 'abi', 'abi_all', 'abi_arm', 'abi_x86' |
25 } | 14 } |
26 | 15 |
27 sourceSets { | 16 sourceSets { |
28 main { | 17 main { |
29 manifest.srcFile 'AndroidManifest.xml' | 18 manifest.srcFile 'AndroidManifest.xml' |
30 } | 19 } |
31 | 20 |
32 androidTest { | 21 androidTest { |
33 manifest.srcFile 'AndroidManifest.xml' | 22 manifest.srcFile 'AndroidManifest.xml' |
34 java.srcDirs = ['src'] | 23 java.srcDirs = ['src'] |
35 res.srcDirs = ['res'] | 24 res.srcDirs = ['res'] |
36 | |
37 jni { | |
38 dependencies { | |
39 project(path: ":adblock-android", configuration: getAbiFlavor() + "Deb
ug") | |
40 } | |
41 } | |
42 } | 25 } |
43 } | 26 } |
44 } | 27 } |
45 | 28 |
46 dependencies { | 29 dependencies { |
47 androidTestCompile project(path: ':adblock-android', configuration: getAbiFlav
or() + "Debug") | 30 androidTestImplementation project(':adblock-android-settings') |
48 androidTestCompile project(':adblock-android-settings') | 31 androidTestImplementation fileTree(include: ['*.jar'], dir: 'libs') |
49 androidTestCompile fileTree(include: ['*.jar'], dir: 'libs') | |
50 | 32 |
51 androidTestCompile 'org.mockito:mockito-core:1.10.19' | 33 androidTestImplementation 'org.mockito:mockito-core:1.10.19' |
52 androidTestCompile 'com.google.dexmaker:dexmaker:1.2' | 34 androidTestImplementation 'com.google.dexmaker:dexmaker:1.2' |
53 androidTestCompile 'com.google.dexmaker:dexmaker-mockito:1.2' | 35 androidTestImplementation 'com.google.dexmaker:dexmaker-mockito:1.2' |
54 } | 36 } |
LEFT | RIGHT |