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

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

Issue 29649555: Issue 6219 - Create flavors per ABI (Closed)
Patch Set: renamed variable Created Jan. 9, 2018, 6:20 a.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 | « build.gradle ('k') | libadblockplus-android-tests/build.gradle » ('j') | 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.library' 1 apply plugin: 'com.android.library'
2 2
3 android { 3 android {
4 compileSdkVersion 21 4 compileSdkVersion 21
5 buildToolsVersion "25.0.0" 5 buildToolsVersion "25.0.0"
6 6
7 defaultConfig { 7 defaultConfig {
8 minSdkVersion 21 8 minSdkVersion 21
9 targetSdkVersion 21 9 targetSdkVersion 21
10 versionCode 2 10 versionCode 2
11 versionName "1.0.1" 11 versionName "1.0.1"
12 } 12 }
13 13
14 sourceSets { 14 sourceSets {
15 main { 15 main {
16 manifest.srcFile 'AndroidManifest.xml' 16 manifest.srcFile 'AndroidManifest.xml'
17 java.srcDirs = ['src'] 17 java.srcDirs = ['src']
18 resources.srcDirs = ['src'] 18 resources.srcDirs = ['src']
19 res.srcDirs = ['res'] 19 res.srcDirs = ['res']
20 assets.srcDirs = ['assets'] 20 assets.srcDirs = ['assets']
21 21
22 jni { 22 jni {
23 dependencies { 23 dependencies {
24 project ":libadblockplus-android" 24 project(path: ":libadblockplus-android", configuration: getA biFlavor() + "Debug")
25 } 25 }
26 } 26 }
27 } 27 }
28 } 28 }
29 } 29 }
30 30
31
32
33 dependencies { 31 dependencies {
34 compile project(':libadblockplus-android') 32 debugCompile project("path": ':libadblockplus-android', "configuration": get AbiFlavor() + "Debug")
33 releaseCompile project("path": ':libadblockplus-android', "configuration": g etAbiFlavor() + "Release")
35 compile 'com.android.support:support-v4:21.0.3' 34 compile 'com.android.support:support-v4:21.0.3'
36 } 35 }
OLDNEW
« no previous file with comments | « build.gradle ('k') | libadblockplus-android-tests/build.gradle » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld