build.gradle 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. plugins {
  2. id 'com.android.application'
  3. id 'org.jetbrains.kotlin.android'
  4. }
  5. android {
  6. namespace 'com.achunt.justtype'
  7. compileSdk 34
  8. defaultConfig {
  9. applicationId "com.achunt.justtype"
  10. minSdk 26
  11. targetSdk 34
  12. versionCode 7
  13. versionName "0.5.1"
  14. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  15. }
  16. buildTypes {
  17. release {
  18. minifyEnabled true
  19. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  20. }
  21. staging {
  22. minifyEnabled true
  23. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  24. }
  25. }
  26. compileOptions {
  27. sourceCompatibility JavaVersion.VERSION_17
  28. targetCompatibility JavaVersion.VERSION_17
  29. }
  30. kotlinOptions {
  31. jvmTarget = '17'
  32. }
  33. buildFeatures {
  34. viewBinding true
  35. }
  36. }
  37. dependencies {
  38. implementation 'androidx.core:core-ktx:1.7.0'
  39. implementation 'androidx.appcompat:appcompat:1.5.1'
  40. implementation 'com.google.android.material:material:1.7.0'
  41. implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
  42. implementation 'androidx.navigation:navigation-fragment-ktx:2.5.3'
  43. implementation 'androidx.navigation:navigation-ui-ktx:2.5.3'
  44. testImplementation 'junit:junit:4.13.2'
  45. androidTestImplementation 'androidx.test.ext:junit:1.1.4'
  46. androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.0'
  47. }