2018-10-29 21:49:42 +00:00
|
|
|
apply plugin: 'com.android.application'
|
2018-12-13 17:24:18 +00:00
|
|
|
apply plugin: "androidx.navigation.safeargs"
|
2018-10-29 21:49:42 +00:00
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
apply plugin: 'kotlin-android-extensions'
|
2018-10-31 16:02:33 +00:00
|
|
|
apply plugin: 'kotlin-kapt'
|
2018-10-29 21:49:42 +00:00
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdkVersion 28
|
|
|
|
defaultConfig {
|
2018-10-30 02:30:53 +00:00
|
|
|
applicationId "cy.agorise.bitsybitshareswallet"
|
2018-10-29 21:49:42 +00:00
|
|
|
minSdkVersion 21
|
|
|
|
targetSdkVersion 28
|
|
|
|
versionCode 1
|
2018-10-30 16:04:05 +00:00
|
|
|
versionName "0.1"
|
2018-10-31 14:55:55 +00:00
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
2018-10-29 21:49:42 +00:00
|
|
|
}
|
|
|
|
buildTypes {
|
|
|
|
release {
|
2018-12-10 23:19:28 +00:00
|
|
|
minifyEnabled true
|
|
|
|
shrinkResources true
|
2018-10-29 21:49:42 +00:00
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
2018-11-21 19:13:07 +00:00
|
|
|
debug {
|
2018-12-14 17:12:30 +00:00
|
|
|
// TODO enabling minify breaks the debugger breakpoints, find a way to fix it and enable minify again
|
|
|
|
minifyEnabled false
|
2018-12-14 15:54:02 +00:00
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
2018-11-21 19:13:07 +00:00
|
|
|
resValue("string", "PORT_NUMBER", "8082")
|
|
|
|
}
|
2018-10-29 21:49:42 +00:00
|
|
|
}
|
2018-11-23 02:13:10 +00:00
|
|
|
android.packagingOptions {
|
|
|
|
exclude 'lib/x86_64/darwin/libscrypt.dylib'
|
|
|
|
exclude 'lib/x86_64/freebsd/libscrypt.so'
|
|
|
|
exclude 'lib/x86_64/linux/libscrypt.so'
|
|
|
|
}
|
2018-10-29 21:49:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2018-10-31 16:02:33 +00:00
|
|
|
def lifecycle_version = "2.0.0"
|
2018-12-10 23:19:28 +00:00
|
|
|
def room_version = "2.1.0-alpha03"
|
2018-12-13 02:56:20 +00:00
|
|
|
def nav_version = "1.0.0-alpha08"
|
2018-10-31 16:02:33 +00:00
|
|
|
|
2018-10-29 21:49:42 +00:00
|
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
2018-10-31 14:27:09 +00:00
|
|
|
implementation project(':graphenejlib:graphenej')
|
2018-10-30 15:11:19 +00:00
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
2018-11-21 19:13:07 +00:00
|
|
|
implementation 'androidx.appcompat:appcompat:1.0.2'
|
2018-10-31 14:55:55 +00:00
|
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.0.0-alpha2'
|
|
|
|
implementation 'com.google.android.material:material:1.0.0'
|
2018-10-30 19:55:04 +00:00
|
|
|
|
2018-10-31 16:02:33 +00:00
|
|
|
implementation "androidx.lifecycle:lifecycle-extensions:$lifecycle_version"
|
|
|
|
kapt "androidx.lifecycle:lifecycle-compiler:$lifecycle_version"
|
|
|
|
|
|
|
|
implementation "androidx.room:room-runtime:$room_version"
|
|
|
|
kapt "androidx.room:room-compiler:$room_version"
|
2018-11-28 03:42:39 +00:00
|
|
|
implementation "androidx.room:room-rxjava2:$room_version" // RxJava support for Room
|
|
|
|
|
2018-12-13 02:56:20 +00:00
|
|
|
implementation "android.arch.navigation:navigation-fragment-ktx:$nav_version"
|
|
|
|
implementation "android.arch.navigation:navigation-ui-ktx:$nav_version"
|
|
|
|
|
2018-12-06 00:38:34 +00:00
|
|
|
implementation 'com.jakewharton.rxbinding2:rxbinding:2.1.1'
|
2018-10-31 16:02:33 +00:00
|
|
|
|
2018-11-23 02:13:10 +00:00
|
|
|
implementation 'org.bitcoinj:bitcoinj-core:0.14.3'
|
2018-11-24 15:11:57 +00:00
|
|
|
implementation 'com.moldedbits.r2d2:r2d2:1.0.1'
|
2018-11-23 02:13:10 +00:00
|
|
|
implementation 'com.google.zxing:core:3.3.1'
|
|
|
|
implementation 'me.dm7.barcodescanner:zxing:1.9.8'
|
2018-12-13 22:01:26 +00:00
|
|
|
implementation 'com.afollestad.material-dialogs:core:2.0.0-rc3'
|
2018-11-23 02:13:10 +00:00
|
|
|
|
2018-11-21 19:13:07 +00:00
|
|
|
// Android Debug Database
|
|
|
|
debugImplementation 'com.amitshekhar.android:debug-db:1.0.4'
|
|
|
|
|
2018-10-31 16:02:33 +00:00
|
|
|
// TODO enable and make proper testing
|
|
|
|
// testImplementation 'junit:junit:4.12'
|
|
|
|
// testImplementation "androidx.arch.core:core-testing:$lifecycle_version"
|
|
|
|
// testImplementation "androidx.room:room-testing:$room_version"
|
|
|
|
// androidTestImplementation 'androidx.test:runner:1.1.0'
|
|
|
|
// androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'
|
2018-10-29 21:49:42 +00:00
|
|
|
}
|