diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index d5a68b33..d6bf8432 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -5,18 +5,27 @@ targetSdk = "34" versionName = "1.0" versionCode = "1" -gradleplugin = "8.1.1" +gradleplugin = "8.1.2" kotlin = "1.9.10" androidx-core = "1.12.0" androidx-appcompat = "1.6.1" androidx-fragment = "1.6.1" +androidx-activity = "1.7.2" androidx-lifecycle = "2.6.2" androidx-contstraintlayout = "2.1.4" androidx-test-junit = "1.1.5" androidx-test-espresso = "3.5.1" +compose = "1.5.2" +compose-material = "1.5.2" +compose-foundation = "1.5.2" +compose-icon = "1.5.2" +compose-compiler = "1.5.3" +compose-material3-windowSizeClass = "1.1.2" +compose-material3 = "1.1.2" + google-firebase = "32.3.1" google-services-plugin = "4.4.0" google-crashlytics-plguin = "2.9.9" @@ -38,6 +47,20 @@ androidx-constraintlayout = { module = "androidx.constraintlayout:constraintlayo androidx-lifecycle-runtime = { module = "androidx.lifecycle:lifecycle-runtime-ktx", version.ref = "androidx-lifecycle" } androidx-fragment = { module = "androidx.fragment:fragment-ktx", version.ref = "androidx-fragment" } +compose-runtime = { module = "androidx.compose.runtime:runtime", version.ref = "compose" } +compose-ui = { module = "androidx.compose.ui:ui", version.ref = "compose" } +compose-ui-tooling-preview = { module = "androidx.compose.ui:ui-tooling-preview", version.ref = "compose" } +compose-ui-tooling = { module = "androidx.compose.ui:ui-tooling", version.ref = "compose" } +compose-foundation = { module = "androidx.compose.foundation:foundation", version.ref = "compose-foundation" } +compose-material-icons = { module = "androidx.compose.material:material-icons-extended", version.ref = "compose-icon" } +compose-material3 = { module = "androidx.compose.material3:material3", version.ref = "compose-material3" } +compose-material = { module = "androidx.compose.material:material", version.ref = "compose-material" } +compose-material3-windowSizeClass = { module = "androidx.compose.material3:material3-window-size-class", version.ref = "compose-material3-windowSizeClass" } +compose-ui-test-junit4 = { module = "androidx.compose.ui:ui-test-junit4", version.ref = "compose" } +compose-ui-test-manifest = { module = "androidx.compose.ui:ui-test-manifest", version.ref = "compose" } +compose-viewmodel = { module = "androidx.lifecycle:lifecycle-viewmodel-compose", version.ref = "androidx-lifecycle" } +compose-activity = { module = "androidx.activity:activity-compose", version.ref = "androidx-activity" } + google-services-gradle = { group = "com.google.gms", name = "google-services", version.ref = "google-services-plugin" } firebase-crashlytics-gradle = { module = "com.google.firebase:firebase-crashlytics-gradle", version.ref = "google-crashlytics-plguin" } firebase-bom = { module = "com.google.firebase:firebase-bom", version.ref = "google-firebase" } @@ -61,6 +84,20 @@ androidx = [ "androidx-lifecycle-runtime", ] +compose = [ + "compose-ui", + "compose-runtime", + "compose-foundation", + "compose-ui-tooling-preview", + "compose-material", + "compose-material-icons", + "compose-material3", + "compose-material3-windowSizeClass", + "compose-ui-tooling-preview", + "compose-viewmodel", + "compose-activity" +] + [plugins] android-application = { id = "com.android.application", version.ref = "gradleplugin" } android-library = { id = "com.android.library", version.ref = "gradleplugin" }