2017-08-17 21:38:05 +00:00
|
|
|
apply plugin: 'com.android.application'
|
2018-08-14 21:15:45 +00:00
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
apply plugin: 'kotlin-android-extensions'
|
2018-09-29 21:00:13 +00:00
|
|
|
apply plugin: 'kotlin-kapt' // add this line
|
|
|
|
|
2018-08-14 21:15:45 +00:00
|
|
|
|
|
|
|
kapt {
|
|
|
|
generateStubs = true
|
|
|
|
javacOptions {
|
|
|
|
option("-Xmaxerrs", 500)
|
|
|
|
}
|
|
|
|
}
|
2017-08-17 21:38:05 +00:00
|
|
|
|
|
|
|
android {
|
2018-06-10 18:35:06 +00:00
|
|
|
compileSdkVersion 27
|
2017-08-17 21:38:05 +00:00
|
|
|
defaultConfig {
|
2017-09-08 00:31:38 +00:00
|
|
|
applicationId "cy.agorise.crystalwallet"
|
2018-06-07 15:22:25 +00:00
|
|
|
minSdkVersion 21
|
2018-06-10 18:35:06 +00:00
|
|
|
targetSdkVersion 27
|
2018-10-08 15:21:35 +00:00
|
|
|
versionCode 4
|
|
|
|
versionName "0.4M.alpha"
|
2017-08-17 21:38:05 +00:00
|
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
2017-12-08 04:59:18 +00:00
|
|
|
vectorDrawables {
|
|
|
|
useSupportLibrary true
|
|
|
|
}
|
2017-09-30 19:37:36 +00:00
|
|
|
multiDexEnabled true
|
2017-08-17 21:38:05 +00:00
|
|
|
}
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
2018-10-15 17:28:20 +00:00
|
|
|
debug {
|
|
|
|
resValue("string", "PORT_NUMBER", "8081")
|
|
|
|
}
|
2017-08-17 21:38:05 +00:00
|
|
|
}
|
2018-06-09 04:06:02 +00:00
|
|
|
|
|
|
|
productFlavors {
|
|
|
|
}
|
|
|
|
|
|
|
|
lintOptions {
|
|
|
|
disable 'MissingTranslation','ExtraTranslation'
|
|
|
|
checkReleaseBuilds false
|
|
|
|
abortOnError false
|
|
|
|
}
|
|
|
|
|
|
|
|
android.packagingOptions {
|
|
|
|
exclude 'lib/x86_64/darwin/libscrypt.dylib'
|
|
|
|
exclude 'lib/x86_64/freebsd/libscrypt.so'
|
|
|
|
exclude 'lib/x86_64/linux/libscrypt.so'
|
|
|
|
}
|
2017-08-17 21:38:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2018-06-07 15:22:25 +00:00
|
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
2018-08-23 00:00:39 +00:00
|
|
|
//androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
|
2018-06-07 15:22:25 +00:00
|
|
|
androidTestImplementation('com.android.support.test.espresso:espresso-core:3.0.1', {
|
2017-10-08 03:03:59 +00:00
|
|
|
exclude group: 'com.android.support', module: 'support-annotations'
|
2017-08-17 21:38:05 +00:00
|
|
|
})
|
2018-10-11 22:45:57 +00:00
|
|
|
implementation( 'com.github.thekhaeng:pushdown-anim-click:1.1.1' ){
|
|
|
|
exclude group: 'com.android.support'
|
|
|
|
}
|
2018-08-17 17:08:49 +00:00
|
|
|
implementation 'com.jaredrummler:material-spinner:1.2.5'
|
2018-09-03 16:49:25 +00:00
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:1.1.60"
|
2017-09-20 01:59:14 +00:00
|
|
|
//testCompile 'com.android.support.test:runner:1.0.1'
|
2018-10-15 17:28:20 +00:00
|
|
|
implementation 'com.afollestad.material-dialogs:core:0.9.6.0'
|
2018-06-10 18:35:06 +00:00
|
|
|
implementation 'com.android.support:appcompat-v7:27.1.1'
|
2018-08-23 00:00:39 +00:00
|
|
|
implementation 'com.github.bumptech.glide:glide:4.7.1'
|
|
|
|
// Glide v4 uses this new annotation processor -- see https://bumptech.github.io/glide/doc/generatedapi.html
|
|
|
|
annotationProcessor 'com.github.bumptech.glide:compiler:4.7.1'
|
2018-06-10 18:35:06 +00:00
|
|
|
implementation 'com.android.support:support-v4:27.1.1'
|
|
|
|
implementation 'com.android.support:design:27.1.1'
|
2018-06-21 20:08:50 +00:00
|
|
|
implementation 'com.android.support:cardview-v7:27.1.1'
|
2018-10-15 17:28:20 +00:00
|
|
|
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
|
2018-06-10 18:35:06 +00:00
|
|
|
implementation 'android.arch.lifecycle:runtime:1.1.1'
|
|
|
|
implementation 'android.arch.lifecycle:extensions:1.1.1'
|
|
|
|
implementation 'android.arch.paging:runtime:1.0.0'
|
2018-06-07 15:22:25 +00:00
|
|
|
implementation 'com.idescout.sql:sqlscout-server:2.0'
|
|
|
|
implementation 'com.google.code.gson:gson:2.8.0'
|
|
|
|
implementation 'com.squareup.retrofit2:retrofit:2.2.0'
|
|
|
|
implementation 'com.squareup.retrofit2:converter-gson:2.1.0'
|
|
|
|
implementation 'org.bitcoinj:bitcoinj-core:0.14.3'
|
|
|
|
implementation 'com.neovisionaries:nv-websocket-client:1.30'
|
|
|
|
implementation 'org.tukaani:xz:1.6'
|
|
|
|
implementation 'com.jakewharton:butterknife:8.8.1'
|
|
|
|
implementation 'com.github.bilthon:graphenej:0.4.6'
|
|
|
|
implementation 'com.google.zxing:core:3.3.1'
|
|
|
|
implementation 'me.dm7.barcodescanner:zxing:1.9.8'
|
2018-06-21 00:41:31 +00:00
|
|
|
implementation 'com.github.sjaramillo10:AnimatedTabLayout:1.0.3'
|
2017-11-29 01:50:46 +00:00
|
|
|
|
2018-06-07 15:22:25 +00:00
|
|
|
implementation 'com.squareup.okhttp3:logging-interceptor:3.5.0'
|
2018-06-14 20:40:38 +00:00
|
|
|
implementation 'de.hdodenhof:circleimageview:2.2.0'
|
2018-01-10 02:00:46 +00:00
|
|
|
|
2018-04-23 00:27:46 +00:00
|
|
|
//testCompile 'junit:junit: 4.12'
|
2018-06-07 15:22:25 +00:00
|
|
|
testImplementation 'org.mockito:mockito-core:1.10.19'
|
2018-08-14 21:15:45 +00:00
|
|
|
implementation 'android.arch.persistence.room:runtime:1.1.0'
|
|
|
|
|
|
|
|
kapt 'android.arch.persistence.room:runtime:1.1.0'
|
|
|
|
annotationProcessor 'android.arch.lifecycle:compiler:1.1.1'
|
|
|
|
kapt 'android.arch.lifecycle:compiler:1.1.1'
|
2018-06-10 18:35:06 +00:00
|
|
|
annotationProcessor 'android.arch.lifecycle:compiler:1.1.1'
|
2018-08-14 21:15:45 +00:00
|
|
|
kapt 'android.arch.persistence.room:compiler:1.1.0'
|
2018-06-10 18:35:06 +00:00
|
|
|
annotationProcessor 'android.arch.persistence.room:compiler:1.1.0'
|
2018-08-14 21:15:45 +00:00
|
|
|
kapt 'com.jakewharton:butterknife-compiler:8.8.1'
|
2017-11-14 00:18:40 +00:00
|
|
|
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
|
2018-02-26 00:12:01 +00:00
|
|
|
|
2018-06-07 15:22:25 +00:00
|
|
|
implementation 'com.squareup.picasso:picasso:2.5.2'
|
2018-04-23 00:27:46 +00:00
|
|
|
implementation 'com.github.esafirm.android-image-picker:imagepicker:1.11.1'
|
2018-06-07 15:22:25 +00:00
|
|
|
implementation 'id.zelory:compressor:2.1.0'
|
|
|
|
implementation 'com.vincent.filepicker:MultiTypeFilePicker:1.0.7'
|
|
|
|
implementation 'com.andrognito.patternlockview:patternlockview:1.0.0'
|
2018-07-27 02:58:12 +00:00
|
|
|
implementation 'commons-codec:commons-codec:1.11'
|
|
|
|
|
2018-08-03 03:02:23 +00:00
|
|
|
implementation ('io.socket:socket.io-client:0.8.3') {
|
|
|
|
// excluding org.json which is provided by Android
|
|
|
|
exclude group: 'org.json', module: 'json'
|
|
|
|
}
|
|
|
|
|
2018-09-07 02:13:28 +00:00
|
|
|
kapt "android.arch.lifecycle:compiler:1.1.1"
|
|
|
|
kapt "android.arch.persistence.room:compiler:1.1.0"
|
2018-10-15 17:28:20 +00:00
|
|
|
|
|
|
|
debugImplementation 'com.amitshekhar.android:debug-db:1.0.4'
|
2017-08-17 21:38:05 +00:00
|
|
|
}
|