From 6e17a55debc23958364bfc611e9ed6ad1c18efef Mon Sep 17 00:00:00 2001 From: "Nelson R. Perez" Date: Wed, 25 Sep 2019 20:09:18 -0500 Subject: [PATCH] Gradle changes & version bump - Bumping version number to 0.6.0 - Introducing new publication mechanism using Bintray --- build.gradle | 2 ++ graphenej/build.gradle | 53 ++++++++---------------------------------- 2 files changed, 12 insertions(+), 43 deletions(-) diff --git a/build.gradle b/build.gradle index 2ab53db..77fec39 100644 --- a/build.gradle +++ b/build.gradle @@ -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' } } diff --git a/graphenej/build.gradle b/graphenej/build.gradle index 094e9da..22d2d47 100644 --- a/graphenej/build.gradle +++ b/graphenej/build.gradle @@ -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 {