build.gradle.kts 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. plugins {
  2. alias(libs.plugins.androidApplication)
  3. alias(libs.plugins.jetbrainsKotlinAndroid)
  4. }
  5. android {
  6. namespace = "com.example.sportapp"
  7. compileSdk = 34
  8. defaultConfig {
  9. applicationId = "com.example.sportapp"
  10. minSdk = 24
  11. targetSdk = 34
  12. versionCode = 1
  13. versionName = "1.0"
  14. testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
  15. }
  16. buildTypes {
  17. release {
  18. isMinifyEnabled = false
  19. proguardFiles(
  20. getDefaultProguardFile("proguard-android-optimize.txt"),
  21. "proguard-rules.pro"
  22. )
  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(libs.androidx.core.ktx)
  38. implementation(libs.androidx.appcompat)
  39. implementation(libs.material)
  40. implementation(libs.androidx.activity)
  41. implementation(libs.androidx.constraintlayout)
  42. implementation(libs.androidx.legacy.support.v4)
  43. implementation(libs.androidx.recyclerview)
  44. testImplementation(libs.junit)
  45. androidTestImplementation(libs.androidx.junit)
  46. androidTestImplementation(libs.androidx.espresso.core)
  47. implementation("com.pierfrancescosoffritti.androidyoutubeplayer:core:12.1.0")
  48. implementation ("com.github.bumptech.glide:glide:4.15.0")
  49. implementation ("com.squareup.retrofit2:converter-gson:2.5.0")
  50. implementation ("com.squareup.retrofit2:retrofit:2.9.0")
  51. implementation ("com.makeramen:roundedimageview:2.3.0")
  52. implementation ("com.squareup.okhttp3:logging-interceptor:4.11.0")
  53. implementation ("com.squareup.retrofit2:converter-scalars:2.1.0")
  54. }