build.gradle 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /*
  2. * Copyright 2018, The Android Open Source Project
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. apply plugin: 'com.android.application'
  17. apply plugin: 'kotlin-android'
  18. apply plugin: 'kotlin-kapt'
  19. android {
  20. compileSdkVersion 30
  21. defaultConfig {
  22. applicationId "com.example.android.dessertpusher"
  23. minSdkVersion 19
  24. targetSdkVersion 30
  25. versionCode 1
  26. versionName "1.0"
  27. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  28. vectorDrawables.useSupportLibrary = true
  29. }
  30. buildTypes {
  31. release {
  32. minifyEnabled false
  33. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  34. }
  35. }
  36. buildFeatures {
  37. dataBinding true
  38. }
  39. }
  40. dependencies {
  41. implementation fileTree(dir: 'libs', include: ['*.jar'])
  42. implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
  43. implementation 'androidx.appcompat:appcompat:1.2.0'
  44. implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
  45. }