Gradle changes & version bump
- Bumping version number to 0.6.0 - Introducing new publication mechanism using Bintray
This commit is contained in:
parent
9b27bced03
commit
6e17a55deb
2 changed files with 12 additions and 43 deletions
|
@ -20,8 +20,10 @@ buildscript {
|
||||||
name 'Google'
|
name 'Google'
|
||||||
}
|
}
|
||||||
google()
|
google()
|
||||||
|
jcenter()
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'com.android.tools.build:gradle:3.4.2'
|
classpath 'com.android.tools.build:gradle:3.4.2'
|
||||||
|
classpath 'com.novoda:bintray-release:0.9.1'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,49 +1,16 @@
|
||||||
buildscript {
|
apply plugin: 'com.novoda.bintray-release'
|
||||||
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 plugin: 'com.android.library'
|
||||||
apply plugin: 'com.github.dcendents.android-maven'
|
|
||||||
apply plugin: 'com.jfrog.bintray'
|
|
||||||
|
|
||||||
ext {
|
publish {
|
||||||
bintrayRepo = 'maven'
|
userOrg = 'bilthon'
|
||||||
bintrayName = 'cy.agorise.graphenej'
|
groupId = 'cy.agorise.graphenej'
|
||||||
|
artifactId = 'graphenej'
|
||||||
publishedGroupId = 'cy.agorise'
|
publishVersion = '0.6.0'
|
||||||
artifact = 'graphenej'
|
repoName = 'Graphenej'
|
||||||
libraryVersion = '0.6.0'
|
desc = 'A Java library for mobile app Developers; Graphene/Bitshares blockchain.'
|
||||||
|
website = 'https://github.com/Agorise/graphenej'
|
||||||
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 {
|
android {
|
||||||
compileSdkVersion 28
|
compileSdkVersion 28
|
||||||
|
|
||||||
|
@ -51,7 +18,7 @@ android {
|
||||||
minSdkVersion 14
|
minSdkVersion 14
|
||||||
targetSdkVersion 28
|
targetSdkVersion 28
|
||||||
versionCode 12
|
versionCode 12
|
||||||
versionName "0.4.7-alpha3"
|
versionName "0.6.0"
|
||||||
vectorDrawables.useSupportLibrary = true
|
vectorDrawables.useSupportLibrary = true
|
||||||
}
|
}
|
||||||
buildTypes {
|
buildTypes {
|
||||||
|
|
Loading…
Reference in a new issue