2019-09-19 20:35:19 +00:00
|
|
|
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'
|
|
|
|
}
|
|
|
|
}
|
2017-02-16 20:05:27 +00:00
|
|
|
|
2017-03-23 03:54:16 +00:00
|
|
|
apply plugin: 'com.android.library'
|
2019-09-19 20:35:19 +00:00
|
|
|
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')
|
|
|
|
}
|
|
|
|
|
2017-03-23 21:34:11 +00:00
|
|
|
|
|
|
|
android {
|
2018-10-31 15:45:24 +00:00
|
|
|
compileSdkVersion 28
|
2017-03-23 21:34:11 +00:00
|
|
|
|
|
|
|
defaultConfig {
|
2018-04-05 22:35:34 +00:00
|
|
|
minSdkVersion 14
|
2018-10-31 15:45:24 +00:00
|
|
|
targetSdkVersion 28
|
2018-02-22 22:38:20 +00:00
|
|
|
versionCode 12
|
|
|
|
versionName "0.4.7-alpha3"
|
2017-03-23 21:34:11 +00:00
|
|
|
vectorDrawables.useSupportLibrary = true
|
|
|
|
}
|
|
|
|
buildTypes {
|
2018-05-03 17:38:59 +00:00
|
|
|
debug{}
|
|
|
|
preRelease{}
|
2017-03-23 21:34:11 +00:00
|
|
|
release {
|
|
|
|
minifyEnabled false
|
2018-05-03 17:38:59 +00:00
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
|
2017-03-23 21:34:11 +00:00
|
|
|
}
|
|
|
|
}
|
2018-09-20 21:21:25 +00:00
|
|
|
defaultConfig {
|
|
|
|
multiDexEnabled true
|
|
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
|
|
|
}
|
2018-04-05 02:07:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2018-05-03 17:27:12 +00:00
|
|
|
testImplementation group: 'junit', name: 'junit', version: '4.12'
|
|
|
|
implementation 'com.neovisionaries:nv-websocket-client:1.30'
|
|
|
|
implementation 'org.bitcoinj:bitcoinj-core:0.14.3'
|
2019-09-13 00:30:40 +00:00
|
|
|
implementation 'com.google.code.gson:gson:2.8.5'
|
|
|
|
implementation 'org.tukaani:xz:1.6'
|
2018-04-05 02:07:09 +00:00
|
|
|
|
2019-09-13 00:30:40 +00:00
|
|
|
androidTestImplementation 'com.android.support:support-annotations:28.0.0'
|
2018-09-20 21:21:25 +00:00
|
|
|
androidTestImplementation 'com.android.support.test:runner:1.0.2'
|
|
|
|
androidTestImplementation 'com.android.support.test:rules:1.0.2'
|
|
|
|
|
2018-04-05 02:07:09 +00:00
|
|
|
// Rx dependencies
|
2019-09-13 00:30:40 +00:00
|
|
|
api 'io.reactivex.rxjava2:rxandroid:2.1.0'
|
|
|
|
api 'io.reactivex.rxjava2:rxjava:2.2.2'
|
|
|
|
api 'com.jakewharton.rxrelay2:rxrelay:2.1.0'
|
|
|
|
api 'com.squareup.okhttp3:okhttp:3.12.2'
|
2018-05-03 17:38:59 +00:00
|
|
|
}
|