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 5 | |
11 versionName "2.2" | |
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: getAbiFlavo
r() + "Debug") | 23 project(path: ":adblock-android", configuration: getAbiFlavo
r() + "Debug") |
25 } | 24 } |
26 } | 25 } |
27 } | 26 } |
28 } | 27 } |
29 } | 28 } |
30 | 29 |
31 dependencies { | 30 dependencies { |
32 debugCompile project("path": ':adblock-android', "configuration": getAbiFlav
or() + "Debug") | 31 debugCompile project("path": ':adblock-android', "configuration": getAbiFlav
or() + "Debug") |
33 releaseCompile project("path": ':adblock-android', "configuration": getAbiFl
avor() + "Release") | 32 releaseCompile project("path": ':adblock-android', "configuration": getAbiFl
avor() + "Release") |
34 compile 'com.android.support:support-v4:21.0.3' | 33 compile 'com.android.support:support-v4:21.0.3' |
35 } | 34 } |
| 35 |
| 36 publish { |
| 37 userOrg = rootProject.ext.bintrayUserOrg |
| 38 groupId = rootProject.ext.bintrayGroupId |
| 39 artifactId = 'adblock-android-settings' |
| 40 publishVersion = '2.2' |
| 41 licences = rootProject.ext.bintrayLicences |
| 42 desc = 'An Android library that provides a configuration interface for Adblo
ck Plus.' |
| 43 website = rootProject.ext.bintrayWebsite |
| 44 issueTracker = rootProject.ext.bintrayIssueTracker |
| 45 repository = rootProject.ext.bintrayRepository |
| 46 } |
OLD | NEW |