Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: adblock-android-webview/build.gradle

Issue 29784577: Issue 6205 - Upload artifacs to maven repository (Closed)
Patch Set: Several adjustments Created July 9, 2018, 3:53 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
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 "27.0.3"
6 7
7 defaultConfig { 8 defaultConfig {
8 minSdkVersion 21 9 minSdkVersion 21
9 targetSdkVersion 21 10 targetSdkVersion 21
10 versionCode 7 11 missingDimensionStrategy 'abi', 'abi_all', 'abi_arm', 'abi_x86'
11 versionName "3.0"
12 } 12 }
13 13
14 sourceSets { 14 sourceSets {
15 main { 15 main {
16 manifest.srcFile 'AndroidManifest.xml' 16 manifest.srcFile 'AndroidManifest.xml'
17 java.srcDirs = ['src'] 17 java.srcDirs = ['src']
18 resources.srcDirs = ['src'] 18 resources.srcDirs = ['src']
19 res.srcDirs = ['res'] 19 res.srcDirs = ['res']
20 assets.srcDirs = ['assets'] 20 assets.srcDirs = ['assets']
21
22 jni {
23 dependencies {
24 project(path: ":adblock-android", configuration: getAbiFlavor() + "Deb ug")
25 }
26 }
27 } 21 }
28 } 22 }
29 } 23 }
30 24
31 dependencies { 25 dependencies {
32 debugCompile project("path": ':adblock-android', "configuration": getAbiFlavor () + "Debug") 26 api project(':adblock-android')
33 releaseCompile project("path": ':adblock-android', "configuration": getAbiFlav or() + "Release")
34 } 27 }
28
29 publish {
30 userOrg = rootProject.ext.bintrayUserOrg
31 groupId = rootProject.ext.bintrayGroupId
32 artifactId = 'adblock-android-webview'
33 publishVersion = '3.0'
34 licences = rootProject.ext.bintrayLicences
35 desc = 'An Android library that provides a WebView component with Adblock Plus integrated.'
36 website = rootProject.ext.bintrayWebsite
37 issueTracker = rootProject.ext.bintrayIssueTracker
38 repository = rootProject.ext.bintrayRepository
39 }
OLDNEW

Powered by Google App Engine
This is Rietveld