build.gradle.kts 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. plugins {
  2. alias(libs.plugins.androidApplication)
  3. }
  4. android {
  5. namespace = "com.example.shorti"
  6. compileSdk = 34
  7. defaultConfig {
  8. applicationId = "com.example.shorti"
  9. minSdk = 24
  10. targetSdk = 34
  11. versionCode = 1
  12. versionName = "1.0"
  13. testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
  14. }
  15. buildTypes {
  16. release {
  17. isMinifyEnabled = false
  18. proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
  19. }
  20. }
  21. compileOptions {
  22. sourceCompatibility = JavaVersion.VERSION_1_8
  23. targetCompatibility = JavaVersion.VERSION_1_8
  24. }
  25. }
  26. dependencies {
  27. implementation("com.squareup.retrofit2:retrofit:2.9.0")
  28. implementation("com.squareup.retrofit2:converter-gson:2.9.0")
  29. implementation(libs.appcompat)
  30. implementation(libs.material)
  31. implementation(libs.activity)
  32. implementation(libs.constraintlayout)
  33. testImplementation(libs.junit)
  34. androidTestImplementation(libs.ext.junit)
  35. androidTestImplementation(libs.espresso.core)
  36. }