LEFT | RIGHT |
1 apply plugin: 'com.android.model.library' | 1 apply plugin: 'com.android.library' |
2 | 2 |
3 model { | 3 android { |
| 4 compileSdkVersion 21 |
| 5 buildToolsVersion "24.0.1" |
4 | 6 |
5 android { | 7 defaultConfig { |
6 compileSdkVersion 21 | 8 minSdkVersion 17 |
7 buildToolsVersion "22.0.1" | 9 targetSdkVersion 21 |
| 10 versionCode 1 |
| 11 versionName "1.0" |
| 12 } |
8 | 13 |
9 defaultConfig { | 14 sourceSets { |
10 minSdkVersion.apiLevel 17 | 15 main { |
11 targetSdkVersion.apiLevel 21 | 16 manifest.srcFile 'AndroidManifest.xml' |
12 versionCode 1 | 17 java.srcDirs = ['src'] |
13 versionName "1.0" | 18 resources.srcDirs = ['src'] |
14 } | 19 res.srcDirs = ['res'] |
| 20 assets.srcDirs = ['assets'] |
15 | 21 |
16 sources { | 22 jni { |
17 main { | 23 dependencies { |
18 manifest { | 24 project ":libadblockplus-android" |
19 source { | |
20 srcDir '.' | |
21 include 'AndroidManifest.xml' | |
22 } | |
23 } | |
24 java { source { srcDirs = ['src'] } } | |
25 resources { source { srcDirs = ['src'] } } | |
26 res { source { srcDirs = ['res'] } } | |
27 assets { source { srcDirs = ['assets'] } } | |
28 | |
29 jni { | |
30 dependencies { | |
31 project ":libadblockplus-android" | |
32 } | |
33 } | 25 } |
34 } | 26 } |
35 } | 27 } |
36 } | 28 } |
37 } | 29 } |
38 | 30 |
39 dependencies { | 31 dependencies { |
40 compile project(':libadblockplus-android') | 32 compile project(':libadblockplus-android') |
41 } | 33 } |
LEFT | RIGHT |