Compare commits

..

6 commits

Author SHA1 Message Date
Severiano Jaramillo
848a95e766 Remove unnecessary attributes. 2022-05-29 11:12:47 -07:00
Severiano Jaramillo
8faeb05486 Update tukaani library version. 2021-07-08 20:33:39 -07:00
Severiano Jaramillo
2d80e90b7a Update gradle plugin version. 2021-06-07 21:15:59 -07:00
Severiano Jaramillo
e5d68e8992 Bump targetSdkVersion and compileSdkVersion to 29. 2021-03-04 20:17:33 -08:00
Severiano Jaramillo
38c0f168db Remove JCenter usages, fix import, and cleanup build.gradle file. 2021-03-01 22:25:17 -08:00
Severiano Jaramillo
e587eb18ed Remove bintray-publish library and update Gradle plugin version. 2021-03-01 21:19:51 -08:00
3 changed files with 25 additions and 56 deletions

View file

@ -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'
} }
} }

View file

@ -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'
} }

View file

@ -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;