Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: libadblockplus-android-tests/build.gradle

Issue 29365787: Issue 4675 - Can't run android tests from Android Studio (Closed)
Patch Set: Created Nov. 30, 2016, 12:50 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "22.0.1" 17 buildToolsVersion "22.0.1"
18 18
19 defaultConfig { 19 defaultConfig {
20 applicationId "org.adblockplus.libadblockplus.tests" 20 applicationId "org.adblockplus.libadblockplus.tests"
21 minSdkVersion 9 21 minSdkVersion 9
22 targetSdkVersion 16 22 targetSdkVersion 16
23 versionCode 359 23 versionCode 359
24 versionName "1.3" 24 versionName "1.3"
25
26 testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
27 } 25 }
28 26
29 sourceSets { 27 sourceSets {
30 main { 28 main {
31 manifest.srcFile 'AndroidManifest.xml' 29 manifest.srcFile 'AndroidManifest.xml'
32 } 30 }
33 31
34 androidTest { 32 androidTest {
35 manifest.srcFile 'AndroidManifest.xml' 33 manifest.srcFile 'AndroidManifest.xml'
36 java.srcDirs = ['src'] 34 java.srcDirs = ['src']
37 35
38 jni { 36 jni {
39 dependencies { 37 dependencies {
40 project ":libadblockplus-android" 38 project ":libadblockplus-android"
41 } 39 }
42 } 40 }
43 } 41 }
44 } 42 }
45 } 43 }
46 44
47 dependencies { 45 dependencies {
48 androidTestCompile project(':libadblockplus-android') 46 androidTestCompile project(':libadblockplus-android')
49 androidTestCompile fileTree(include: ['*.jar'], dir: 'libs') 47 androidTestCompile fileTree(include: ['*.jar'], dir: 'libs')
50 } 48 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld