build.gradle 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. plugins {
  2. id 'com.android.application'
  3. id 'org.jetbrains.kotlin.android'
  4. }
  5. android {
  6. compileSdk 32
  7. defaultConfig {
  8. applicationId "com.ethosa.ktc"
  9. minSdk 21
  10. targetSdk 32
  11. versionCode 18
  12. versionName "0.8.7"
  13. ndk {
  14. abiFilters 'armeabi-v7a','arm64-v8a','x86','x86_64'
  15. }
  16. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  17. }
  18. buildTypes {
  19. release {
  20. minifyEnabled true
  21. shrinkResources true
  22. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  23. }
  24. }
  25. compileOptions {
  26. sourceCompatibility JavaVersion.VERSION_1_8
  27. targetCompatibility JavaVersion.VERSION_1_8
  28. }
  29. kotlinOptions {
  30. jvmTarget = '1.8'
  31. }
  32. buildFeatures {
  33. viewBinding true
  34. }
  35. }
  36. dependencies {
  37. implementation 'androidx.core:core-ktx:1.7.0'
  38. implementation 'com.google.android.material:material:1.5.0'
  39. implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
  40. implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.4.1'
  41. implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.4.1'
  42. implementation 'androidx.navigation:navigation-fragment-ktx:2.4.2'
  43. implementation 'androidx.navigation:navigation-ui-ktx:2.4.2'
  44. implementation 'com.squareup.okhttp3:okhttp:4.9.0'
  45. implementation 'com.google.code.gson:gson:2.9.0'
  46. implementation 'com.github.bumptech.glide:glide:4.13.1'
  47. implementation 'jp.wasabeef:glide-transformations:4.3.0'
  48. implementation 'androidx.legacy:legacy-support-v4:1.0.0'
  49. implementation 'androidx.preference:preference:1.2.0'
  50. implementation 'androidx.webkit:webkit:1.4.0'
  51. testImplementation 'junit:junit:4.13.2'
  52. androidTestImplementation 'androidx.test.ext:junit:1.1.3'
  53. androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
  54. }