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

Unified 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.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: adblock-android-settings/build.gradle
===================================================================
--- a/adblock-android-settings/build.gradle
+++ b/adblock-android-settings/build.gradle
@@ -1,35 +1,40 @@
apply plugin: 'com.android.library'
+apply plugin: 'com.novoda.bintray-release'
android {
compileSdkVersion 21
- buildToolsVersion "25.0.0"
+ buildToolsVersion '27.0.3'
defaultConfig {
minSdkVersion 21
targetSdkVersion 21
- versionCode 6
- versionName "3.0"
+ missingDimensionStrategy 'abi', 'abi_all', 'abi_arm', 'abi_x86'
}
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs = ['src']
resources.srcDirs = ['src']
res.srcDirs = ['res']
assets.srcDirs = ['assets']
-
- jni {
- dependencies {
- project(path: ":adblock-android", configuration: getAbiFlavor() + "Debug")
- }
- }
}
}
}
dependencies {
- debugCompile project("path": ':adblock-android', "configuration": getAbiFlavor() + "Debug")
- releaseCompile project("path": ':adblock-android', "configuration": getAbiFlavor() + "Release")
- compile 'com.android.support:support-v4:21.0.3'
+ api project(':adblock-android')
+ implementation 'com.android.support:support-v4:21.0.3'
}
+
+publish {
+ userOrg = rootProject.ext.bintrayUserOrg
+ groupId = rootProject.ext.bintrayGroupId
+ artifactId = 'adblock-android-settings'
+ publishVersion = '3.0'
+ licences = rootProject.ext.bintrayLicences
+ desc = 'An Android library that provides a configuration interface for Adblock Plus.'
+ website = rootProject.ext.bintrayWebsite
+ issueTracker = rootProject.ext.bintrayIssueTracker
+ repository = rootProject.ext.bintrayRepository
+}

Powered by Google App Engine
This is Rietveld