/* * Copyright 2018, The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * */ apply plugin: 'com.android.application' apply plugin: 'kotlin-android' apply plugin: 'kotlin-android-extensions' apply plugin: 'kotlin-kapt' apply plugin: "androidx.navigation.safeargs" android { compileSdkVersion 28 dataBinding { enabled = true } defaultConfig { applicationId "com.example.android.gdgfinder" minSdkVersion 19 targetSdkVersion 28 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" vectorDrawables.useSupportLibrary = true } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } androidExtensions { experimental = true } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) // Kotlin implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$version_kotlin" // Constraint Layout implementation "androidx.constraintlayout:constraintlayout:$version_constraint_layout" // ViewModel and LiveData implementation "androidx.lifecycle:lifecycle-extensions:$version_lifecycle_extensions" // use viewModelScope from lifecycle-viewmodel-ktx implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.1.0-alpha03" // Navigation implementation "android.arch.navigation:navigation-fragment-ktx:$version_navigation" implementation "android.arch.navigation:navigation-ui-ktx:$version_navigation" // Core with Ktx implementation "androidx.core:core-ktx:$version_core" // Moshi implementation "com.squareup.moshi:moshi:$version_moshi" implementation "com.squareup.moshi:moshi-kotlin:$version_moshi" // Retrofit implementation "com.squareup.retrofit2:retrofit:$version_retrofit" implementation "com.squareup.retrofit2:converter-moshi:$version_retrofit" // Coroutines implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$version_kotlin_coroutines" implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$version_kotlin_coroutines" // Retrofit Coroutines Support implementation "com.jakewharton.retrofit:retrofit2-kotlin-coroutines-adapter:$version_retrofit_coroutines_adapter" // Glide implementation "com.github.bumptech.glide:glide:$version_glide" // RecyclerView implementation "androidx.recyclerview:recyclerview:$version_recyclerview" // material design components implementation 'com.google.android.material:material:1.1.0-alpha04' // Client for retrieving location implementation "com.google.android.gms:play-services-location:16.0.0" }