build.gradle 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. plugins {
  2. id 'com.android.application'
  3. id 'kotlin-android'
  4. id 'kotlin-android-extensions'
  5. }
  6. android {
  7. compileSdkVersion 29
  8. buildToolsVersion "30.0.2"
  9. defaultConfig {
  10. applicationId "com.tarfeef101.pwm"
  11. minSdkVersion 28
  12. targetSdkVersion 29
  13. versionCode 1
  14. versionName "1.0"
  15. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  16. }
  17. buildTypes {
  18. release {
  19. minifyEnabled false
  20. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  21. }
  22. }
  23. compileOptions {
  24. sourceCompatibility JavaVersion.VERSION_1_8
  25. targetCompatibility JavaVersion.VERSION_1_8
  26. }
  27. kotlinOptions {
  28. jvmTarget = '1.8'
  29. }
  30. }
  31. dependencies {
  32. implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
  33. implementation 'androidx.core:core-ktx:1.2.0'
  34. implementation 'androidx.appcompat:appcompat:1.1.0'
  35. implementation 'com.google.android.material:material:1.1.0'
  36. implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
  37. testImplementation 'junit:junit:4.+'
  38. androidTestImplementation 'androidx.test.ext:junit:1.1.1'
  39. androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
  40. }