File tree Expand file tree Collapse file tree 1 file changed +16
-15
lines changed Expand file tree Collapse file tree 1 file changed +16
-15
lines changed Original file line number Diff line number Diff line change @@ -4,12 +4,12 @@ buildscript {
44 }
55 dependencies {
66 classpath ' com.android.tools.build:gradle:2.1.2'
7+ classpath ' com.novoda:bintray-release:0.3.4'
78 }
89}
910
1011apply plugin : ' com.android.library'
11- apply plugin : ' maven'
12- apply plugin : ' signing'
12+ apply plugin : ' com.novoda.bintray-release'
1313
1414repositories {
1515 jcenter()
@@ -32,24 +32,12 @@ android {
3232 buildToolsVersion " 23.0.3"
3333
3434 defaultConfig {
35- versionName " 1.11 .0"
35+ versionName " 1.12 .0"
3636 minSdkVersion 14
3737 targetSdkVersion 23
3838 }
3939}
4040
41- version android. defaultConfig. versionName
42- group = " org.wordpress"
43- archivesBaseName = " utils"
44-
45- signing {
46- required {
47- has(" release" ) && project. properties. containsKey(" signing.keyId" ) && project. properties. containsKey(" signing.secretKeyRingFile" )
48- }
49- sign configurations. archives
50- }
51-
52-
5341android. libraryVariants. all { variant ->
5442 task(" generate${ variant.name} Javadoc" , type : Javadoc ) {
5543 description " Generates Javadoc for $variant . name . "
@@ -62,3 +50,16 @@ android.libraryVariants.all { variant ->
6250 exclude ' **/R.java'
6351 }
6452}
53+
54+ publish {
55+ artifactId = ' utils'
56+ userOrg = ' wordpress-mobile'
57+ groupId = ' org.wordpress'
58+ uploadName = ' utils'
59+ description = ' Utils library for Android'
60+ publishVersion = android. defaultConfig. versionName
61+ licences = [' MIT' , ' GPL' ]
62+ website = ' https://github.com/wordpress-mobile/WordPress-Utils-Android/'
63+ dryRun = ' false'
64+ autoPublish = ' true'
65+ }
You can’t perform that action at this time.
0 commit comments