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

Side by Side Diff: adblock-android-settings/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 6 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: getAbiFlavo r() + "Debug")
25 }
26 }
27 } 21 }
28 } 22 }
29 } 23 }
30 24
31 dependencies { 25 dependencies {
32 debugCompile project("path": ':adblock-android', "configuration": getAbiFlav or() + "Debug") 26 api project(':adblock-android')
33 releaseCompile project("path": ':adblock-android', "configuration": getAbiFl avor() + "Release") 27 implementation 'com.android.support:support-v4:21.0.3'
34 compile 'com.android.support:support-v4:21.0.3'
35 } 28 }
29
30 publish {
31 userOrg = rootProject.ext.bintrayUserOrg
32 groupId = rootProject.ext.bintrayGroupId
33 artifactId = 'adblock-android-settings'
34 publishVersion = '3.0'
35 licences = rootProject.ext.bintrayLicences
36 desc = 'An Android library that provides a configuration interface for Adblo ck Plus.'
37 website = rootProject.ext.bintrayWebsite
38 issueTracker = rootProject.ext.bintrayIssueTracker
39 repository = rootProject.ext.bintrayRepository
40 }
OLDNEW

Powered by Google App Engine
This is Rietveld