2020-05-04 11:15:24 +00:00
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
2021-12-10 08:52:58 +00:00
//apply plugin: 'kotlin-android-extensions'//deprecated:sergio
2020-05-04 11:15:24 +00:00
apply plugin: 'kotlin-kapt'
2020-09-16 21:09:44 +00:00
apply plugin: 'com.google.gms.google-services'
apply plugin: 'com.google.firebase.crashlytics'
2020-05-04 11:15:24 +00:00
android {
compileSdkVersion 29
2021-10-14 06:26:50 +00:00
// buildToolsVersion "29.0.3"
2020-05-04 11:15:24 +00:00
defaultConfig {
applicationId "es.verdnatura"
minSdkVersion 21
targetSdkVersion 29
2021-12-10 08:52:58 +00:00
versionCode 84
versionName "6.4" //VERSION CODE 84. Modificados menus buffer y añadido hsitorico carro por items y por carro.
//versionName "6.3" //VERSION CODE 83 Nueva funcionalidad Cargar expedición en buffer
2021-11-25 07:40:30 +00:00
//versionName "6.2.1" // VERSION CODE 82 Aparece mensaje de error completo en "Error al construir la colección".
//versionName "6.2" //VERSION CODE 81, arreglado el null de grouping en ubicador.
2021-11-17 15:09:33 +00:00
//versionName "6.1.9.1" //VERSION CODE 80, arreglado el null de grouping en ubicador.
2021-11-11 15:37:30 +00:00
//versionName "6.1.9" VERSION CODE 76, añadido grouping, reference, prioridad, controladores vs scadores, boton mensaje error,rocket salix y error al añadir elemento a colección.
2021-11-11 05:38:26 +00:00
// Sin subir, Modificado y añadido mensajes de error, añadido opcion Dia de venta y su parking, teclado numerico para controlador
2021-10-28 09:18:22 +00:00
// versionName "6.1.8.5" VERSION CODE 75 // 23-10-2021//VERSION CODE 74-75 .Pantalla "Dia de venta y parking" Modificado itemtrash, deprecated preferenceManager, quitados ;,puesto menu general al controlador
//versionName "6.1.8.4.1" //VERSION CODE 73 . Modificar itemtrash
//versionName "6.1.8.4" //VERSION CODE 72 . Se añade ExpedtionScan para el Sorter, y modificion llamadas itemtrash y collectionGetTicket.
2021-10-14 06:26:50 +00:00
//versionName "6.1.8.3.1"//(VERSION CODE 71) Se añade ViewModel.collectionGet cuando se hace un collectionNew y un refresco de adapter
//versionName "6.1.8.3" //(VERSION CODE 69) Tres campos más en pantalla cel1,cel2,cel3, obtener artículos similares con filtro, mostrar foto del sacador.
//versionName "6.1.8.2" //(VERSIONCODE 68) Menu Operaciones buffer, pantalla mas grande en control vehiculo, deletefragments a todos los menus.
//versionName "6.1.8.1" //(VERSIONCODE 67) Control vehiculo , visualizar y filtrar historico
// versionName "5.4.4" //version inicial
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'
}
}
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' ] )
// 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'
implementation 'com.google.firebase:firebase-crashlytics:17.2.1'
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'
2020-05-04 11:15:24 +00:00
}