Эх сурвалжийг харах

Add compose calendar dependency

Helmut Pozimski 1 жил өмнө
parent
commit
3df3c3a976
2 өөрчлөгдсөн 14 нэмэгдсэн , 6 устгасан
  1. 9 5
      app/build.gradle
  2. 5 1
      build.gradle

+ 9 - 5
app/build.gradle

@@ -47,17 +47,21 @@ android {
 }
 
 dependencies {
-
-    implementation 'androidx.core:core-ktx:1.7.0'
-    implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.3.1'
-    implementation 'androidx.activity:activity-compose:1.3.1'
+    implementation 'androidx.core:core-ktx:1.9.0'
+    implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.5.1'
+    implementation 'androidx.activity:activity-compose:1.6.1'
     implementation "androidx.compose.ui:ui:$compose_ui_version"
     implementation "androidx.compose.ui:ui-tooling-preview:$compose_ui_version"
-    implementation 'androidx.compose.material:material:1.2.0'
+    implementation 'androidx.compose.material:material:1.3.1'
     testImplementation 'junit:junit:4.13.2'
     androidTestImplementation 'androidx.test.ext:junit:1.1.5'
     androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
     androidTestImplementation "androidx.compose.ui:ui-test-junit4:$compose_ui_version"
     debugImplementation "androidx.compose.ui:ui-tooling:$compose_ui_version"
     debugImplementation "androidx.compose.ui:ui-test-manifest:$compose_ui_version"
+    implementation "androidx.navigation:navigation-compose:$nav_version"
+    implementation "io.github.boguszpawlowski.composecalendar:composecalendar:1.0.2"
+
+    // separate artifact with utilities for working with kotlinx-datetime
+    implementation "io.github.boguszpawlowski.composecalendar:kotlinx-datetime:1.0.2"
 }

+ 5 - 1
build.gradle

@@ -1,6 +1,10 @@
 buildscript {
     ext {
-        compose_ui_version = '1.2.0'
+        compose_ui_version = '1.3.3'
+        nav_version = "2.5.3"
+    }
+    repositories {
+        google()
     }
 }// Top-level build file where you can add configuration options common to all sub-projects/modules.
 plugins {