104 lines
No EOL
3.3 KiB
Groovy
104 lines
No EOL
3.3 KiB
Groovy
apply plugin: 'com.android.application'
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'kotlin-android-extensions'
|
|
apply plugin: 'kotlin-kapt'
|
|
//apply plugin: 'com.google.firebase.crashlytics'
|
|
//apply plugin: 'com.google.firebase.firebase-perf'
|
|
//apply plugin: 'com.google.gms.google-services'
|
|
|
|
android {
|
|
compileSdkVersion 29
|
|
defaultConfig {
|
|
minSdkVersion 21
|
|
targetSdkVersion 29
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
androidExtensions {
|
|
experimental = true
|
|
}
|
|
buildTypes {
|
|
release {
|
|
debuggable false
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
signingConfig signingConfigs.debug
|
|
}
|
|
debug {
|
|
debuggable true
|
|
minifyEnabled false
|
|
applicationIdSuffix ".dev"
|
|
signingConfig signingConfigs.debug
|
|
}
|
|
debug_beta {
|
|
initWith debug
|
|
versionNameSuffix "-beta"
|
|
applicationIdSuffix ".debug"
|
|
}
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = JavaVersion.VERSION_1_8.toString()
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
coreLibraryDesugaringEnabled true
|
|
}
|
|
packagingOptions {
|
|
exclude 'lib/x86_64/darwin/libscrypt.dylib'
|
|
exclude 'lib/x86_64/freebsd/libscrypt.so'
|
|
exclude 'lib/x86_64/linux/libscrypt.so'
|
|
}
|
|
buildToolsVersion '29.0.3'
|
|
}
|
|
|
|
repositories {
|
|
maven { url "https://jitpack.io" }
|
|
}
|
|
|
|
dependencies {
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin"
|
|
implementation 'androidx.core:core-ktx:1.3.1'
|
|
implementation 'androidx.appcompat:appcompat:1.2.0'
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.0.1'
|
|
implementation 'com.google.android.material:material:1.2.1'
|
|
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.0.10'
|
|
|
|
implementation 'com.tangem:blockchain:1.67.0'
|
|
implementation 'com.tangem:core:1.63.0'
|
|
implementation 'com.tangem:sdk:1.63.0'
|
|
|
|
//lifecycle
|
|
implementation "androidx.lifecycle:lifecycle-runtime:2.2.0"
|
|
implementation "androidx.lifecycle:lifecycle-common-java8:2.2.0"
|
|
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.2.0"
|
|
implementation "androidx.lifecycle:lifecycle-livedata-ktx:2.2.0"
|
|
|
|
//koin - di
|
|
// implementation "org.koin:koin-android:2.1.5"
|
|
// implementation "org.koin:koin-android-scope:2.1.5"
|
|
// implementation "org.koin:koin-android-viewmodel:2.1.5"
|
|
|
|
// //Firebase
|
|
// implementation 'com.google.firebase:firebase-analytics:17.5.0'
|
|
// implementation 'com.google.firebase:firebase-crashlytics:17.2.1'
|
|
// implementation 'com.google.firebase:firebase-perf:19.0.8'
|
|
|
|
implementation "org.rekotlin:rekotlin:1.0.4"
|
|
|
|
// QR
|
|
implementation 'com.google.zxing:core:3.3.3'
|
|
implementation 'me.dm7.barcodescanner:zxing:1.9.8'
|
|
|
|
// Camera
|
|
implementation 'com.otaliastudios:cameraview:2.6.3'
|
|
|
|
// Image Loading - Picasso
|
|
implementation 'com.squareup.picasso:picasso:2.71828'
|
|
|
|
testImplementation 'junit:junit:4.13'
|
|
testImplementation "com.google.truth:truth:1.0.1"
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
|
|
|
|
} |