134 lines
No EOL
4.6 KiB
Groovy
134 lines
No EOL
4.6 KiB
Groovy
apply plugin: 'com.android.application'
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'kotlin-android-extensions'
|
|
apply plugin: 'kotlin-kapt'
|
|
apply plugin: 'com.google.gms.google-services'
|
|
apply plugin: 'com.google.firebase.crashlytics'
|
|
|
|
android {
|
|
compileSdkVersion 30
|
|
defaultConfig {
|
|
applicationId "com.tangem.wallet"
|
|
versionCode project.hasProperty('versionCode') ? project.property('versionCode') as int : 1
|
|
versionName project.hasProperty('versionName') ? project.property('versionName') : "1.0.0.-SNAPSHOT"
|
|
minSdkVersion 21
|
|
targetSdkVersion 30
|
|
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
|
|
buildConfigField 'String', 'CONFIG_ENVIRONMENT', '\"prod\"'
|
|
}
|
|
debug {
|
|
debuggable true
|
|
minifyEnabled false
|
|
applicationIdSuffix ".dev"
|
|
signingConfig signingConfigs.debug
|
|
firebaseCrashlytics {
|
|
mappingFileUploadEnabled false
|
|
}
|
|
buildConfigField 'String', 'CONFIG_ENVIRONMENT', '\"dev\"'
|
|
}
|
|
debug_beta {
|
|
initWith release
|
|
debuggable false
|
|
versionNameSuffix "-beta"
|
|
applicationIdSuffix ".debug"
|
|
buildConfigField 'String', 'CONFIG_ENVIRONMENT', '\"prod\"'
|
|
}
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = JavaVersion.VERSION_1_8.toString()
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
coreLibraryDesugaringEnabled false
|
|
}
|
|
packagingOptions {
|
|
exclude 'lib/x86_64/darwin/libscrypt.dylib'
|
|
exclude 'lib/x86_64/freebsd/libscrypt.so'
|
|
exclude 'lib/x86_64/linux/libscrypt.so'
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
maven { url "https://jitpack.io" }
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(include: ['*.aar'], dir: 'libs')
|
|
|
|
implementation 'androidx.core:core-ktx:1.6.0'
|
|
implementation 'androidx.appcompat:appcompat:1.3.1'
|
|
implementation 'androidx.fragment:fragment-ktx:1.3.6'
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.1'
|
|
implementation 'com.google.android.material:material:1.4.0'
|
|
implementation "androidx.core:core-ktx:1.6.0"
|
|
implementation 'com.google.android.play:core:1.10.2'
|
|
implementation 'com.google.android.play:core-ktx:1.8.1'
|
|
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5'
|
|
|
|
implementation 'com.tangem:blockchain:develop-50'
|
|
implementation 'com.tangem.tangem-sdk-kotlin:core:develop-103'
|
|
implementation 'com.tangem.tangem-sdk-kotlin:android:develop-103'
|
|
|
|
// WebView
|
|
implementation "androidx.browser:browser:1.3.0"
|
|
|
|
implementation 'com.jakewharton.timber:timber:4.7.1'
|
|
|
|
//lifecycle
|
|
implementation "androidx.lifecycle:lifecycle-runtime-ktx:2.3.1"
|
|
implementation "androidx.lifecycle:lifecycle-common-java8:2.3.1"
|
|
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.1"
|
|
implementation "androidx.lifecycle:lifecycle-livedata-ktx:2.3.1"
|
|
|
|
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'
|
|
|
|
// Firebase
|
|
implementation platform('com.google.firebase:firebase-bom:26.0.0')
|
|
implementation 'com.google.firebase:firebase-crashlytics'
|
|
implementation 'com.google.firebase:firebase-config-ktx'
|
|
implementation 'com.google.firebase:firebase-analytics-ktx'
|
|
|
|
// WalletConnect
|
|
implementation 'com.github.salomonbrys.kotson:kotson:2.5.0'
|
|
|
|
// Network and Json
|
|
implementation 'com.squareup.retrofit2:retrofit:2.8.1'
|
|
implementation 'com.squareup.retrofit2:converter-moshi:2.6.0'
|
|
implementation 'com.squareup.moshi:moshi:1.12.0'
|
|
implementation "com.squareup.moshi:moshi-kotlin:1.12.0"
|
|
implementation 'com.squareup.okhttp3:logging-interceptor:4.2.2'
|
|
//
|
|
// //Crypto
|
|
implementation "com.madgag.spongycastle:core:1.58.0.0"
|
|
|
|
// animation
|
|
implementation "com.airbnb.android:lottie:3.4.0"
|
|
|
|
testImplementation 'junit:junit:4.13.2'
|
|
testImplementation "com.google.truth:truth:1.1.3"
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
|
|
|
|
} |