123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- /*
- * 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-kapt'
- android {
- compileSdkVersion 30
- buildFeatures {
- dataBinding true
- }
- defaultConfig {
- applicationId 'com.example.android.navigation'
- minSdkVersion 19
- targetSdkVersion 30
- vectorDrawables.useSupportLibrary = true
- versionCode 1
- versionName "1.0"
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- }
- }
- productFlavors {
- }
- }
- dependencies {
- implementation fileTree(include: ['*.jar'], dir: 'libs')
- // Kotlin
- implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$version_kotlin"
- // Constraint Layout
- implementation "androidx.constraintlayout:constraintlayout:$version_constraint_layout"
- // Core
- implementation "androidx.core:core-ktx:$version_core"
- // Material Design
- implementation "com.google.android.material:material:$version_material"
- }
|