build.gradle 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. plugins {
  2. id 'com.android.application'
  3. id 'org.jetbrains.kotlin.android'
  4. }
  5. android {
  6. compileSdk 33
  7. defaultConfig {
  8. applicationId "chef.sundby.com.homecontroldisplay"
  9. minSdk 25
  10. targetSdk 33
  11. versionCode 1
  12. versionName "1.0"
  13. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  14. }
  15. buildTypes {
  16. release {
  17. minifyEnabled 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. kotlinOptions {
  26. jvmTarget = '1.8'
  27. }
  28. buildFeatures {
  29. viewBinding true
  30. compose true
  31. }
  32. composeOptions {
  33. kotlinCompilerExtensionVersion = "1.3.2"
  34. }
  35. }
  36. dependencies {
  37. implementation 'androidx.core:core-ktx:1.7.0'
  38. implementation 'androidx.appcompat:appcompat:1.4.1'
  39. implementation 'com.google.android.material:material:1.5.0'
  40. testImplementation 'junit:junit:4.13.2'
  41. androidTestImplementation 'androidx.test.ext:junit:1.1.3'
  42. androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
  43. implementation("com.android.volley:volley:1.2.1")
  44. implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4")
  45. implementation "androidx.lifecycle:lifecycle-runtime-ktx:2.5.1"
  46. //implementation 'com.squareup.retrofit2:retrofit:2.9.0'
  47. //implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
  48. // Compose add-ons Copied from:
  49. implementation 'androidx.activity:activity-compose:1.6.1'
  50. //implementation 'androidx.compose.material3:material3:1.0.1'
  51. //implementation 'androidx.compose.foundation:foundation:1.3.1'
  52. implementation "androidx.compose.material:material:1.3.1"
  53. //implementation "androidx.compose.ui:ui:1.3.3"
  54. implementation "androidx.compose.ui:ui-tooling-preview:1.3.3"
  55. debugImplementation "androidx.compose.ui:ui-tooling:1.3.3"
  56. }