LEFT | RIGHT |
1 apply plugin: 'com.android.library' | 1 apply plugin: 'com.android.library' |
2 apply plugin: 'com.novoda.bintray-release' | 2 apply plugin: 'com.novoda.bintray-release' |
3 | 3 |
4 android { | 4 android { |
5 compileSdkVersion 21 | 5 compileSdkVersion 21 |
6 buildToolsVersion "25.0.0" | 6 buildToolsVersion '27.0.3' |
7 | 7 |
8 defaultConfig { | 8 defaultConfig { |
9 minSdkVersion 21 | 9 minSdkVersion 21 |
10 targetSdkVersion 21 | 10 targetSdkVersion 21 |
| 11 missingDimensionStrategy 'abi', 'abi_all', 'abi_arm', 'abi_x86' |
11 } | 12 } |
12 | 13 |
13 sourceSets { | 14 sourceSets { |
14 main { | 15 main { |
15 manifest.srcFile 'AndroidManifest.xml' | 16 manifest.srcFile 'AndroidManifest.xml' |
16 java.srcDirs = ['src'] | 17 java.srcDirs = ['src'] |
17 resources.srcDirs = ['src'] | 18 resources.srcDirs = ['src'] |
18 res.srcDirs = ['res'] | 19 res.srcDirs = ['res'] |
19 assets.srcDirs = ['assets'] | 20 assets.srcDirs = ['assets'] |
20 | |
21 jni { | |
22 dependencies { | |
23 project(path: ":adblock-android", configuration: getAbiFlavo
r() + "Debug") | |
24 } | |
25 } | |
26 } | 21 } |
27 } | 22 } |
28 } | 23 } |
29 | 24 |
30 dependencies { | 25 dependencies { |
31 debugCompile project("path": ':adblock-android', "configuration": getAbiFlav
or() + "Debug") | 26 api project(':adblock-android') |
32 releaseCompile project("path": ':adblock-android', "configuration": getAbiFl
avor() + "Release") | 27 implementation 'com.android.support:support-v4:21.0.3' |
33 compile 'com.android.support:support-v4:21.0.3' | |
34 } | 28 } |
35 | 29 |
36 publish { | 30 publish { |
37 userOrg = rootProject.ext.bintrayUserOrg | 31 userOrg = rootProject.ext.bintrayUserOrg |
38 groupId = rootProject.ext.bintrayGroupId | 32 groupId = rootProject.ext.bintrayGroupId |
39 artifactId = 'adblock-android-settings' | 33 artifactId = 'adblock-android-settings' |
40 publishVersion = '2.2' | 34 publishVersion = '3.0' |
41 licences = rootProject.ext.bintrayLicences | 35 licences = rootProject.ext.bintrayLicences |
42 desc = 'An Android library that provides a configuration interface for Adblo
ck Plus.' | 36 desc = 'An Android library that provides a configuration interface for Adblo
ck Plus.' |
43 website = rootProject.ext.bintrayWebsite | 37 website = rootProject.ext.bintrayWebsite |
44 issueTracker = rootProject.ext.bintrayIssueTracker | 38 issueTracker = rootProject.ext.bintrayIssueTracker |
45 repository = rootProject.ext.bintrayRepository | 39 repository = rootProject.ext.bintrayRepository |
46 } | 40 } |
LEFT | RIGHT |