Compare commits
6 commits
587250fccb
...
848a95e766
Author | SHA1 | Date | |
---|---|---|---|
|
848a95e766 | ||
|
8faeb05486 | ||
|
2d80e90b7a | ||
|
e5d68e8992 | ||
|
38c0f168db | ||
|
e587eb18ed |
3 changed files with 25 additions and 56 deletions
35
build.gradle
35
build.gradle
|
@ -1,29 +1,18 @@
|
||||||
subprojects {
|
|
||||||
repositories {
|
buildscript {
|
||||||
mavenCentral()
|
repositories {
|
||||||
}
|
google()
|
||||||
|
mavenCentral()
|
||||||
|
maven { url 'https://plugins.gradle.org/m2/' }
|
||||||
|
}
|
||||||
|
dependencies {
|
||||||
|
classpath 'com.android.tools.build:gradle:4.2.1'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
allprojects {
|
allprojects {
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
jcenter()
|
maven { url 'https://plugins.gradle.org/m2/' }
|
||||||
maven {
|
|
||||||
url "https://maven.google.com"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
buildscript {
|
|
||||||
repositories {
|
|
||||||
mavenCentral()
|
|
||||||
maven {
|
|
||||||
url 'https://maven.google.com/'
|
|
||||||
name 'Google'
|
|
||||||
}
|
|
||||||
google()
|
|
||||||
jcenter()
|
|
||||||
}
|
|
||||||
dependencies {
|
|
||||||
classpath 'com.android.tools.build:gradle:3.5.2'
|
|
||||||
classpath 'com.novoda:bintray-release:0.9.1'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,37 +1,16 @@
|
||||||
apply plugin: 'com.novoda.bintray-release'
|
|
||||||
apply plugin: 'com.android.library'
|
apply plugin: 'com.android.library'
|
||||||
|
|
||||||
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 {
|
android {
|
||||||
compileSdkVersion 28
|
compileSdkVersion 29
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion 14
|
minSdkVersion 14
|
||||||
targetSdkVersion 28
|
targetSdkVersion 29
|
||||||
versionCode 12
|
|
||||||
versionName "0.6.0"
|
|
||||||
vectorDrawables.useSupportLibrary = true
|
vectorDrawables.useSupportLibrary = true
|
||||||
}
|
}
|
||||||
buildTypes {
|
|
||||||
debug{}
|
|
||||||
preRelease{}
|
|
||||||
release {
|
|
||||||
minifyEnabled false
|
|
||||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
multiDexEnabled true
|
multiDexEnabled true
|
||||||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -39,16 +18,16 @@ dependencies {
|
||||||
testImplementation group: 'junit', name: 'junit', version: '4.12'
|
testImplementation group: 'junit', name: 'junit', version: '4.12'
|
||||||
implementation 'com.neovisionaries:nv-websocket-client:1.30'
|
implementation 'com.neovisionaries:nv-websocket-client:1.30'
|
||||||
implementation 'org.bitcoinj:bitcoinj-core:0.14.3'
|
implementation 'org.bitcoinj:bitcoinj-core:0.14.3'
|
||||||
implementation 'com.google.code.gson:gson:2.8.5'
|
implementation 'com.google.code.gson:gson:2.8.6'
|
||||||
implementation 'org.tukaani:xz:1.6'
|
implementation 'org.tukaani:xz:1.9'
|
||||||
|
|
||||||
|
// Rx dependencies
|
||||||
|
api 'io.reactivex.rxjava2:rxandroid:2.1.1'
|
||||||
|
api 'io.reactivex.rxjava2:rxjava:2.2.10'
|
||||||
|
api 'com.jakewharton.rxrelay2:rxrelay:2.1.0'
|
||||||
|
api 'com.squareup.okhttp3:okhttp:4.2.0'
|
||||||
|
|
||||||
androidTestImplementation 'com.android.support:support-annotations:28.0.0'
|
androidTestImplementation 'com.android.support:support-annotations:28.0.0'
|
||||||
androidTestImplementation 'com.android.support.test:runner:1.0.2'
|
androidTestImplementation 'com.android.support.test:runner:1.0.2'
|
||||||
androidTestImplementation 'com.android.support.test:rules:1.0.2'
|
androidTestImplementation 'com.android.support.test:rules:1.0.2'
|
||||||
|
|
||||||
// Rx dependencies
|
|
||||||
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'
|
|
||||||
}
|
}
|
|
@ -1,8 +1,9 @@
|
||||||
package cy.agorise.graphenej;
|
package cy.agorise.graphenej;
|
||||||
|
|
||||||
import android.support.test.runner.AndroidJUnit4;
|
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
|
|
||||||
|
import androidx.test.runner.AndroidJUnit4;
|
||||||
|
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue