build.gradle 1.8 KB

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