| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- plugins {
- id 'com.android.application'
- id 'org.jetbrains.kotlin.android'
- id 'kotlin-kapt'
- }
- android {
- namespace 'com.example.stores'
- compileSdk 33
- defaultConfig {
- applicationId "com.example.stores"
- minSdk 21
- targetSdk 33
- versionCode 1
- versionName "1.0"
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- }
- viewBinding {
- enabled = true
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- kotlinOptions {
- jvmTarget = '1.8'
- }
- }
- dependencies {
- implementation 'androidx.core:core-ktx:1.7.0'
- implementation 'androidx.appcompat:appcompat:1.6.1'
- implementation 'com.google.android.material:material:1.9.0'
- implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
- testImplementation 'junit:junit:4.13.2'
- androidTestImplementation 'androidx.test.ext:junit:1.1.5'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
- var room_version = "2.5.0"
- implementation("androidx.room:room-ktx:$room_version")
- kapt("androidx.room:room-compiler:$room_version")
- // Persistencia de datos - Tutorial arisdev
- implementation "androidx.datastore:datastore-preferences:1.0.0"
- // Crea como una base de datos: https://developer.android.com/jetpack/androidx/releases/datastore?hl=es-419
- implementation "org.jetbrains.anko:anko-commons:0.10.8"
- implementation 'com.github.bumptech.glide:glide:4.16.0'
- }
|