apply plugin: 'com.android.application' //apply plugin: 'com.android.library' apply plugin: 'kotlin-android' apply plugin: 'kotlin-android-extensions' apply plugin: 'kotlin-kapt' android { compileSdkVersion 29 buildToolsVersion "29.0.3" defaultConfig { applicationId "com.example.ayudapy" minSdkVersion 19 targetSdkVersion 29 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" javaCompileOptions { annotationProcessorOptions { arguments = ["room.schemaLocation": "$projectDir/schemas".toString()] } } } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } } allprojects { repositories { jcenter() maven { url "https://maven.google.com" } } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) 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 'com.google.android.gms:play-services-maps:17.0.0' implementation 'com.google.android.gms:play-services-location:17.0.0' implementation 'androidx.legacy:legacy-support-v4:1.0.0' implementation 'androidx.recyclerview:recyclerview:1.1.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.2.0-alpha06' implementation 'com.squareup.retrofit2:retrofit:2.3.0' implementation 'com.squareup.retrofit2:converter-gson:2.3.0' // implementation 'com.squareup.okhttp3:okhttp:3.4.0' // implementation 'com.squareup.okhttp3:logging-interceptor:3.4.0' //implementation 'com.squareup.okio:okio:2.4.3' //noinspection GradleCompatible implementation 'com.android.support:recyclerview-v7:28.0.0' implementation 'com.squareup.picasso:picasso:2.71828' implementation 'androidx.cardview:cardview:1.0.0' implementation 'com.squareup.okhttp3:logging-interceptor:4.6.0' implementation 'com.google.okhttp:okhttp:20120626' implementation 'com.squareup.okio:okio:2.6.0' implementation 'androidx.constraintlayout:constraintlayout:1.1.3' implementation 'android.arch.persistence.room:runtime:1.1.1' kapt 'android.arch.persistence.room:compiler:1.1.1' implementation 'org.jetbrains.anko:anko-common:0.9' implementation 'com.chauthai.swipereveallayout:swipe-reveal-layout:1.4.1' // ViewModel and LiveData def lifecycle_version = "2.0.0" implementation "androidx.lifecycle:lifecycle-extensions:$lifecycle_version" // // COROUTINES // api "org.jetbrains.kotlinx:kotlinx-coroutines-core:$rootProject.coroutines" // api "org.jetbrains.kotlinx:kotlinx-coroutines-android:$rootProject.coroutines" //implementation "android.arch.lifecycle:extensions:1.1.1" //implementation "android.arch.persistence.room:runtime:1.0.0-rc1" //kapt "android.arch.persistence.room:compiler:1.0.0-rc1" }