Gradle changes & version bump

- Bumping version number to 0.6.0
- Introducing new publication mechanism using Bintray
This commit is contained in:
Nelson R. Perez 2019-09-25 20:09:18 -05:00
parent 9b27bced03
commit 6e17a55deb
2 changed files with 12 additions and 43 deletions

View file

@ -20,8 +20,10 @@ buildscript {
name 'Google'
}
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.4.2'
classpath 'com.novoda:bintray-release:0.9.1'
}
}

View file

@ -1,49 +1,16 @@
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.0'
}
}
apply plugin: 'com.novoda.bintray-release'
apply plugin: 'com.android.library'
apply plugin: 'com.github.dcendents.android-maven'
apply plugin: 'com.jfrog.bintray'
ext {
bintrayRepo = 'maven'
bintrayName = 'cy.agorise.graphenej'
publishedGroupId = 'cy.agorise'
artifact = 'graphenej'
libraryVersion = '0.6.0'
libraryName = 'Graphenej'
libraryDescription = 'A Java library for mobile app Developers; Graphene/Bitshares blockchain.'
siteUrl = 'https://github.com/Agorise/graphenej'
gitUrl = 'https://github.com/Agorise/graphenej'
developerId = 'bilthon'
developerName = 'Nelson Pérez'
developerEmail = 'bilthon@gmail.com'
licenseName = 'MIT License'
licenseUrl = 'https://github.com/Agorise/graphenej/blob/master/LICENSE'
allLicenses = ["MIT"]
//Bintray Credentials
Properties properties = new Properties()
properties.load(project.rootProject.file('local.properties').newDataInputStream())
bintrayUsername = properties.getProperty('bintay.user')
bintrayApiKey = properties.getProperty('bintray.apikey')
publish {
userOrg = 'bilthon'
groupId = 'cy.agorise.graphenej'
artifactId = 'graphenej'
publishVersion = '0.6.0'
repoName = 'Graphenej'
desc = 'A Java library for mobile app Developers; Graphene/Bitshares blockchain.'
website = 'https://github.com/Agorise/graphenej'
}
android {
compileSdkVersion 28
@ -51,7 +18,7 @@ android {
minSdkVersion 14
targetSdkVersion 28
versionCode 12
versionName "0.4.7-alpha3"
versionName "0.6.0"
vectorDrawables.useSupportLibrary = true
}
buildTypes {