2020-05-04 11:15:24 +00:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
apply plugin: 'kotlin-kapt'
|
2020-09-16 21:09:44 +00:00
|
|
|
apply plugin: 'com.google.gms.google-services'
|
2022-02-15 07:50:13 +00:00
|
|
|
//apply plugin: 'com.google.firebase.crashlytics'
|
2020-05-04 11:15:24 +00:00
|
|
|
|
|
|
|
|
|
|
|
android {
|
2023-01-19 15:24:43 +00:00
|
|
|
compileSdkVersion 33
|
2021-10-14 06:26:50 +00:00
|
|
|
// buildToolsVersion "29.0.3"
|
2020-05-04 11:15:24 +00:00
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
applicationId "es.verdnatura"
|
2022-12-13 07:18:17 +00:00
|
|
|
minSdkVersion 24 //21
|
2023-01-19 15:24:43 +00:00
|
|
|
targetSdkVersion 33
|
|
|
|
versionCode 154
|
2023-01-09 11:36:51 +00:00
|
|
|
//versionName = "9.8Beta" version 148
|
2023-01-11 08:04:52 +00:00
|
|
|
//versionName = "23.2Beta" 150
|
2023-01-09 11:36:51 +00:00
|
|
|
versionName = "23.2Beta"
|
2020-05-04 11:15:24 +00:00
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
2022-12-09 09:59:58 +00:00
|
|
|
|
2023-01-09 11:36:51 +00:00
|
|
|
//package de la app general = "package_name": "es.verdnatura"
|
|
|
|
//package de la app beta = "package_name": "es.verdnatura.sfusion"
|
2022-12-09 09:59:58 +00:00
|
|
|
/*scaleFusion
|
2023-01-09 11:36:51 +00:00
|
|
|
getByName("debug") {
|
|
|
|
applicationIdSuffix = ".debug"
|
|
|
|
}*/
|
|
|
|
getByName("release") {
|
|
|
|
applicationIdSuffix = ".sfusion"
|
2022-12-09 09:59:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2020-05-04 11:15:24 +00:00
|
|
|
}
|
|
|
|
|
2021-10-22 08:58:14 +00:00
|
|
|
buildFeatures {
|
2021-11-26 10:42:10 +00:00
|
|
|
viewBinding = true
|
2021-10-22 08:58:14 +00:00
|
|
|
}
|
2020-05-04 11:15:24 +00:00
|
|
|
dataBinding {
|
|
|
|
enabled = true
|
|
|
|
}
|
|
|
|
|
2020-05-14 00:58:48 +00:00
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
|
|
|
|
2020-05-04 11:15:24 +00:00
|
|
|
}
|
|
|
|
|
2021-10-22 08:58:14 +00:00
|
|
|
|
2020-05-04 11:15:24 +00:00
|
|
|
dependencies {
|
|
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
|
debugImplementation fileTree(dir: 'libs/debug', include: ['*.jar'])
|
|
|
|
releaseImplementation fileTree(dir: 'libs/release', include: ['*.jar'])
|
2022-11-02 10:45:31 +00:00
|
|
|
|
|
|
|
//canvas
|
|
|
|
implementation 'com.simplify:ink:1.0.0'
|
|
|
|
|
2022-01-27 07:29:39 +00:00
|
|
|
//navigation
|
|
|
|
implementation 'androidx.navigation:navigation-fragment-ktx:2.3.5'
|
|
|
|
implementation 'androidx.navigation:navigation-ui-ktx:2.3.5'
|
|
|
|
implementation("androidx.drawerlayout:drawerlayout:1.1.1")
|
2020-05-04 11:15:24 +00:00
|
|
|
|
|
|
|
// Kotlin and Android
|
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
|
|
implementation 'androidx.appcompat:appcompat:1.1.0'
|
|
|
|
implementation 'androidx.core:core-ktx:1.2.0'
|
|
|
|
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
|
|
|
|
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
|
|
|
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
|
|
|
|
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.2.0'
|
|
|
|
testImplementation 'junit:junit:4.12'
|
|
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
|
|
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
|
|
|
|
implementation 'com.google.android.material:material:1.0.0'
|
|
|
|
implementation 'com.squareup.retrofit2:retrofit:2.0.2'
|
|
|
|
implementation 'com.squareup.retrofit2:converter-gson:2.0.2'
|
|
|
|
implementation 'com.squareup.retrofit2:converter-scalars:2.3.0'
|
|
|
|
implementation "com.airbnb.android:lottie:$lottieVersion"
|
2020-06-23 09:58:02 +00:00
|
|
|
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.0.0'
|
2020-05-04 11:15:24 +00:00
|
|
|
|
2021-10-14 06:26:50 +00:00
|
|
|
//preferences
|
2021-10-22 08:58:14 +00:00
|
|
|
implementation 'androidx.preference:preference-ktx:1.1.1'
|
2021-10-14 06:26:50 +00:00
|
|
|
|
|
|
|
//Fragments
|
|
|
|
implementation("androidx.fragment:fragment-ktx:1.3.6")
|
|
|
|
|
2020-05-04 11:15:24 +00:00
|
|
|
|
|
|
|
// Architecture components
|
|
|
|
implementation "androidx.lifecycle:lifecycle-extensions:$lifecycle"
|
|
|
|
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle"
|
|
|
|
implementation "androidx.lifecycle:lifecycle-livedata-ktx:$lifecycle"
|
|
|
|
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
|
|
|
|
2021-10-22 08:58:14 +00:00
|
|
|
|
|
|
|
//Koin new resolve
|
|
|
|
//kotlin implementation in mavencentral--> jcenter deprecated
|
|
|
|
|
|
|
|
implementation "io.insert-koin:koin-core:$koin"
|
|
|
|
implementation "io.insert-koin:koin-android:$koin"
|
|
|
|
implementation "io.insert-koin:koin-androidx-scope:$koin"
|
|
|
|
implementation "io.insert-koin:koin-androidx-viewmodel:$koin"
|
|
|
|
|
2020-05-04 11:15:24 +00:00
|
|
|
// Koin for DI
|
2021-10-22 08:58:14 +00:00
|
|
|
//implementation "org.koin:koin-core:$koin"
|
|
|
|
//implementation "org.koin:koin-android:$koin"
|
|
|
|
//implementation "org.koin:koin-androidx-scope:$koin"
|
|
|
|
//implementation "org.koin:koin-androidx-viewmodel:$koin"
|
2020-05-04 11:15:24 +00:00
|
|
|
|
|
|
|
|
|
|
|
// Image libraries
|
|
|
|
implementation "io.coil-kt:coil:$coil"
|
|
|
|
implementation "com.github.bumptech.glide:glide:$glide"
|
|
|
|
implementation "com.github.bumptech.glide:okhttp3-integration:$glide"
|
|
|
|
kapt "com.github.bumptech.glide:compiler:$glide"
|
2020-05-12 21:54:59 +00:00
|
|
|
|
2020-09-16 21:09:44 +00:00
|
|
|
// Add the Firebase Crashlytics SDK.
|
|
|
|
implementation 'com.google.firebase:firebase-analytics:17.5.0'
|
2022-02-15 07:50:13 +00:00
|
|
|
//implementation 'com.google.firebase:firebase-crashlytics:17.2.1'
|
2020-09-16 21:09:44 +00:00
|
|
|
|
2021-07-05 05:49:54 +00:00
|
|
|
//search
|
|
|
|
implementation 'com.github.mirrajabi:search-dialog:1.1'
|
|
|
|
|
2021-10-14 06:26:50 +00:00
|
|
|
//logs
|
|
|
|
implementation 'com.jakewharton.timber:timber:4.7.1'
|
|
|
|
|
2022-11-02 10:45:31 +00:00
|
|
|
//pickerImage
|
|
|
|
implementation 'com.github.esafirm:android-image-picker:3.0.0-beta5'
|
2021-10-14 06:26:50 +00:00
|
|
|
|
2020-05-04 11:15:24 +00:00
|
|
|
}
|