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