diff --git a/build.gradle b/build.gradle index cb99e7c..2ab53db 100644 --- a/build.gradle +++ b/build.gradle @@ -22,6 +22,6 @@ buildscript { google() } dependencies { - classpath 'com.android.tools.build:gradle:3.4.0' + classpath 'com.android.tools.build:gradle:3.4.2' } } diff --git a/graphenej/build.gradle b/graphenej/build.gradle index 3f41c13..094e9da 100644 --- a/graphenej/build.gradle +++ b/graphenej/build.gradle @@ -1,8 +1,48 @@ -group 'cy.agorise' -version '0.4.7-alpha2' +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.android.library' -//apply from: 'maven-push.gradle' +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') +} + android { compileSdkVersion 28