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: getAbiFlavor() + "Deb
ug") | |
24 } | |
25 } | |
26 } | 21 } |
27 } | 22 } |
28 } | 23 } |
29 | 24 |
30 dependencies { | 25 dependencies { |
31 debugCompile project("path": ':adblock-android', "configuration": getAbiFlavor
() + "Debug") | 26 api project(':adblock-android') |
32 releaseCompile project("path": ':adblock-android', "configuration": getAbiFlav
or() + "Release") | |
33 } | 27 } |
34 | 28 |
35 publish { | 29 publish { |
36 userOrg = rootProject.ext.bintrayUserOrg | 30 userOrg = rootProject.ext.bintrayUserOrg |
37 groupId = rootProject.ext.bintrayGroupId | 31 groupId = rootProject.ext.bintrayGroupId |
38 artifactId = 'adblock-android-webview' | 32 artifactId = 'adblock-android-webview' |
39 publishVersion = '2.3' | 33 publishVersion = '3.0' |
40 licences = rootProject.ext.bintrayLicences | 34 licences = rootProject.ext.bintrayLicences |
41 desc = 'An Android library that provides a WebView component with Adblock Plus
integrated.' | 35 desc = 'An Android library that provides a WebView component with Adblock Plus
integrated.' |
42 website = rootProject.ext.bintrayWebsite | 36 website = rootProject.ext.bintrayWebsite |
43 issueTracker = rootProject.ext.bintrayIssueTracker | 37 issueTracker = rootProject.ext.bintrayIssueTracker |
44 repository = rootProject.ext.bintrayRepository | 38 repository = rootProject.ext.bintrayRepository |
45 } | 39 } |
LEFT | RIGHT |