build.gradle.kts 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. plugins {
  2. alias(libs.plugins.android.application)
  3. }
  4. android {
  5. namespace = "com.example.habittracker"
  6. compileSdk = 34
  7. defaultConfig {
  8. applicationId = "com.example.habittracker"
  9. minSdk = 34
  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(
  19. getDefaultProguardFile("proguard-android-optimize.txt"),
  20. "proguard-rules.pro"
  21. )
  22. }
  23. }
  24. compileOptions {
  25. sourceCompatibility = JavaVersion.VERSION_1_8
  26. targetCompatibility = JavaVersion.VERSION_1_8
  27. }
  28. }
  29. dependencies {
  30. implementation(libs.appcompat)
  31. implementation(libs.material)
  32. implementation(libs.activity)
  33. implementation(libs.constraintlayout)
  34. implementation("androidx.work:work-runtime:2.9.1")
  35. testImplementation(libs.junit)
  36. androidTestImplementation(libs.ext.junit)
  37. androidTestImplementation(libs.espresso.core)
  38. }