Index: adblock-android/build.gradle |
=================================================================== |
--- a/adblock-android/build.gradle |
+++ b/adblock-android/build.gradle |
@@ -1,19 +1,18 @@ |
apply plugin: 'com.android.library' |
+apply plugin: 'com.novoda.bintray-release' |
android { |
compileSdkVersion 16 |
buildToolsVersion "25.0.0" |
defaultConfig { |
minSdkVersion 16 |
targetSdkVersion 16 |
- versionCode 5 |
- versionName "2.3" |
} |
publishNonDefault true |
productFlavors { |
abi_arm { |
ndk { |
abiFilters "armeabi-v7a" |
@@ -55,16 +54,28 @@ |
main { |
manifest.srcFile 'AndroidManifest.xml' |
java.srcDirs = ['src'] |
res.srcDirs = ['res'] |
jni.srcDirs = ['jni'] |
} |
} |
+ publish { |
+ userOrg = rootProject.ext.bintrayUserOrg |
+ groupId = rootProject.ext.bintrayGroupId |
+ artifactId = 'adblock-android' |
+ publishVersion = '2.3' |
+ licences = rootProject.ext.bintrayLicences |
+ desc = 'An Android library that provides the core functionality of Adblock Plus.' |
+ website = rootProject.ext.bintrayWebsite |
+ issueTracker = rootProject.ext.bintrayIssueTracker |
+ repository = rootProject.ext.bintrayRepository |
+ } |
anton
2018/05/21 19:50:51
I think we need to add section to README describin
diegocarloslima
2018/06/04 20:41:20
Acknowledged.
|
+ |
def sharedV8LibFiles = System.getenv('SHARED_V8_LIB_FILENAMES') |
if (sharedV8LibFiles != null) { |
def sharedV8LibFilesSet = [] |
def sharedV8LibFilesArray = sharedV8LibFiles.split(' ') |
sharedV8LibFilesArray.each { eachFileName -> |
sharedV8LibFilesSet.add("**/" + eachFileName) |
println "[Configuration] Excluding shared v8 library " + eachFileName + " from AAR" |
} |