diff --git a/androidApp/build.gradle.kts b/androidApp/build.gradle.kts index bb56f11..32b6b8e 100644 --- a/androidApp/build.gradle.kts +++ b/androidApp/build.gradle.kts @@ -23,18 +23,18 @@ dependencies { android { namespace = "fr.ajaury.gwenedeg" compileSdk = - libs.versions.android.compileSdk + libs.versions.androidCompileSdk .get() .toInt() defaultConfig { applicationId = "fr.ajaury.gwenedeg" minSdk = - libs.versions.android.minSdk + libs.versions.androidMinSdk .get() .toInt() targetSdk = - libs.versions.android.targetSdk + libs.versions.androidTargetSdk .get() .toInt() versionCode = 1 diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index c11fdee..9471ea4 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,19 +1,19 @@ [versions] agp = "9.2.1" -android-compileSdk = "36" -android-minSdk = "24" -android-targetSdk = "36" -androidx-activity = "1.13.0" -androidx-appcompat = "1.7.1" -androidx-core = "1.18.0" -androidx-espresso = "3.7.0" -androidx-lifecycle = "2.11.0-beta01" -androidx-testExt = "1.3.0" +androidCompileSdk = "36" +androidMinSdk = "24" +androidTargetSdk = "36" +androidxActivity = "1.13.0" +androidxAppcompat = "1.7.1" +androidxCore = "1.18.0" +androidxEspresso = "3.7.0" +androidxLifecycle = "2.11.0-beta01" +androidxTestExt = "1.3.0" composeMultiplatform = "1.11.0" junit = "4.13.2" kotlin = "2.3.21" -kotlin-wrappers = "2026.5.5" -kotlinx-coroutines = "1.11.0" +kotlinWrappers = "2026.5.5" +kotlinxCoroutines = "1.11.0" material3 = "1.11.0-alpha07" koin = "4.2.1" @@ -21,14 +21,15 @@ koin = "4.2.1" kotlin-test = { module = "org.jetbrains.kotlin:kotlin-test", version.ref = "kotlin" } kotlin-testJunit = { module = "org.jetbrains.kotlin:kotlin-test-junit", version.ref = "kotlin" } junit = { module = "junit:junit", version.ref = "junit" } -androidx-core-ktx = { module = "androidx.core:core-ktx", version.ref = "androidx-core" } -androidx-testExt-junit = { module = "androidx.test.ext:junit", version.ref = "androidx-testExt" } -androidx-espresso-core = { module = "androidx.test.espresso:espresso-core", version.ref = "androidx-espresso" } -androidx-appcompat = { module = "androidx.appcompat:appcompat", version.ref = "androidx-appcompat" } -androidx-activity-compose = { module = "androidx.activity:activity-compose", version.ref = "androidx-activity" } +androidx-core-ktx = { module = "androidx.core:core-ktx", version.ref = "androidxCore" } +androidx-testExt-junit = { module = "androidx.test.ext:junit", version.ref = "androidxTestExt" } +androidx-espresso-core = { module = "androidx.test.espresso:espresso-core", version.ref = "androidxEspresso" } +androidx-appcompat = { module = "androidx.appcompat:appcompat", version.ref = "androidxAppcompat" } +androidx-activity-compose = { module = "androidx.activity:activity-compose", version.ref = "androidxActivity" } compose-uiTooling = { module = "org.jetbrains.compose.ui:ui-tooling", version.ref = "composeMultiplatform" } -androidx-lifecycle-viewmodelCompose = { module = "org.jetbrains.androidx.lifecycle:lifecycle-viewmodel-compose", version.ref = "androidx-lifecycle" } -androidx-lifecycle-runtimeCompose = { module = "org.jetbrains.androidx.lifecycle:lifecycle-runtime-compose", version.ref = "androidx-lifecycle" } +androidx-lifecycle-viewmodelCompose = { module = "org.jetbrains.androidx.lifecycle:lifecycle-viewmodel-compose", version.ref = "androidxLifecycle" } +androidx-lifecycle-runtimeCompose = { module = "org.jetbrains.androidx.lifecycle:lifecycle-runtime-compose", version.ref = "androidxLifecycle" } +androidx-lifecycle-viewmodelNavigation3 = { module = "org.jetbrains.androidx.lifecycle:lifecycle-viewmodel-navigation3", version.ref = "androidxLifecycle" } compose-runtime = { module = "org.jetbrains.compose.runtime:runtime", version.ref = "composeMultiplatform" } compose-foundation = { module = "org.jetbrains.compose.foundation:foundation", version.ref = "composeMultiplatform" } compose-material3 = { module = "org.jetbrains.compose.material3:material3", version.ref = "material3" } @@ -41,8 +42,8 @@ koin-core-viewmodel = { module = "io.insert-koin:koin-core-viewmodel" } koin-compose = { module = "io.insert-koin:koin-compose" } koin-compose-viewmodel = { module = "io.insert-koin:koin-compose-viewmodel" } koin-android = { module = "io.insert-koin:koin-android" } -kotlinx-coroutinesSwing = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-swing", version.ref = "kotlinx-coroutines" } -wrappers-browser = { module = "org.jetbrains.kotlin-wrappers:kotlin-browser", version.ref = "kotlin-wrappers" } +kotlinx-coroutinesSwing = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-swing", version.ref = "kotlinxCoroutines" } +wrappers-browser = { module = "org.jetbrains.kotlin-wrappers:kotlin-browser", version.ref = "kotlinWrappers" } [plugins] androidApplication = { id = "com.android.application", version.ref = "agp" }