OLD | NEW |
1 apply plugin: 'com.android.library' | 1 apply plugin: 'com.android.library' |
| 2 apply plugin: 'com.novoda.bintray-release' |
2 | 3 |
3 android { | 4 android { |
4 compileSdkVersion 21 | 5 compileSdkVersion 21 |
5 buildToolsVersion "25.0.0" | 6 buildToolsVersion "25.0.0" |
6 | 7 |
7 defaultConfig { | 8 defaultConfig { |
8 minSdkVersion 21 | 9 minSdkVersion 21 |
9 targetSdkVersion 21 | 10 targetSdkVersion 21 |
10 versionCode 6 | |
11 versionName "2.3" | |
12 } | 11 } |
13 | 12 |
14 sourceSets { | 13 sourceSets { |
15 main { | 14 main { |
16 manifest.srcFile 'AndroidManifest.xml' | 15 manifest.srcFile 'AndroidManifest.xml' |
17 java.srcDirs = ['src'] | 16 java.srcDirs = ['src'] |
18 resources.srcDirs = ['src'] | 17 resources.srcDirs = ['src'] |
19 res.srcDirs = ['res'] | 18 res.srcDirs = ['res'] |
20 assets.srcDirs = ['assets'] | 19 assets.srcDirs = ['assets'] |
21 | 20 |
22 jni { | 21 jni { |
23 dependencies { | 22 dependencies { |
24 project(path: ":adblock-android", configuration: getAbiFlavor() + "Deb
ug") | 23 project(path: ":adblock-android", configuration: getAbiFlavor() + "Deb
ug") |
25 } | 24 } |
26 } | 25 } |
27 } | 26 } |
28 } | 27 } |
29 } | 28 } |
30 | 29 |
31 dependencies { | 30 dependencies { |
32 debugCompile project("path": ':adblock-android', "configuration": getAbiFlavor
() + "Debug") | 31 debugCompile project("path": ':adblock-android', "configuration": getAbiFlavor
() + "Debug") |
33 releaseCompile project("path": ':adblock-android', "configuration": getAbiFlav
or() + "Release") | 32 releaseCompile project("path": ':adblock-android', "configuration": getAbiFlav
or() + "Release") |
34 } | 33 } |
| 34 |
| 35 publish { |
| 36 userOrg = rootProject.ext.bintrayUserOrg |
| 37 groupId = rootProject.ext.bintrayGroupId |
| 38 artifactId = 'adblock-android-webview' |
| 39 publishVersion = '2.3' |
| 40 licences = rootProject.ext.bintrayLicences |
| 41 desc = 'An Android library that provides a WebView component with Adblock Plus
integrated.' |
| 42 website = rootProject.ext.bintrayWebsite |
| 43 issueTracker = rootProject.ext.bintrayIssueTracker |
| 44 repository = rootProject.ext.bintrayRepository |
| 45 } |
OLD | NEW |