OLD | NEW |
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 16 | 5 compileSdkVersion 16 |
6 buildToolsVersion '27.0.3' | 6 buildToolsVersion '27.0.3' |
7 | 7 |
8 defaultConfig { | 8 defaultConfig { |
9 minSdkVersion 16 | 9 minSdkVersion 16 |
10 targetSdkVersion 16 | 10 targetSdkVersion 16 |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 java.srcDirs = ['src'] | 59 java.srcDirs = ['src'] |
60 res.srcDirs = ['res'] | 60 res.srcDirs = ['res'] |
61 jni.srcDirs = ['jni'] | 61 jni.srcDirs = ['jni'] |
62 } | 62 } |
63 } | 63 } |
64 | 64 |
65 publish { | 65 publish { |
66 userOrg = rootProject.ext.bintrayUserOrg | 66 userOrg = rootProject.ext.bintrayUserOrg |
67 groupId = rootProject.ext.bintrayGroupId | 67 groupId = rootProject.ext.bintrayGroupId |
68 artifactId = 'adblock-android' | 68 artifactId = 'adblock-android' |
69 publishVersion = '3.0' | 69 publishVersion = '3.1' |
70 licences = rootProject.ext.bintrayLicences | 70 licences = rootProject.ext.bintrayLicences |
71 desc = 'An Android library that provides the core functionality of Adblock P
lus.' | 71 desc = 'An Android library that provides the core functionality of Adblock P
lus.' |
72 website = rootProject.ext.bintrayWebsite | 72 website = rootProject.ext.bintrayWebsite |
73 issueTracker = rootProject.ext.bintrayIssueTracker | 73 issueTracker = rootProject.ext.bintrayIssueTracker |
74 repository = rootProject.ext.bintrayRepository | 74 repository = rootProject.ext.bintrayRepository |
75 publications = ['abi_allRelease'] | 75 publications = ['abi_allRelease'] |
76 } | 76 } |
77 | 77 |
78 def sharedV8LibFiles = System.getenv('SHARED_V8_LIB_FILENAMES') | 78 def sharedV8LibFiles = System.getenv('SHARED_V8_LIB_FILENAMES') |
79 if (sharedV8LibFiles != null) { | 79 if (sharedV8LibFiles != null) { |
80 def sharedV8LibFilesSet = [] | 80 def sharedV8LibFilesSet = [] |
81 def sharedV8LibFilesArray = sharedV8LibFiles.split(' ') | 81 def sharedV8LibFilesArray = sharedV8LibFiles.split(' ') |
82 sharedV8LibFilesArray.each { eachFileName -> | 82 sharedV8LibFilesArray.each { eachFileName -> |
83 sharedV8LibFilesSet.add("**/" + eachFileName) | 83 sharedV8LibFilesSet.add("**/" + eachFileName) |
84 println "[Configuration] Excluding shared v8 library " + eachFileName + "
from AAR" | 84 println "[Configuration] Excluding shared v8 library " + eachFileName + "
from AAR" |
85 } | 85 } |
86 | 86 |
87 packagingOptions { | 87 packagingOptions { |
88 excludes = sharedV8LibFilesSet | 88 excludes = sharedV8LibFilesSet |
89 } | 89 } |
90 } else { | 90 } else { |
91 println "[Configuration] No shared v8 libraries excluded from AAR" | 91 println "[Configuration] No shared v8 libraries excluded from AAR" |
92 } | 92 } |
93 | 93 |
94 } | 94 } |
OLD | NEW |