diff --git a/build.gradle.kts b/build.gradle.kts index 4437fe7..008ea6d 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,5 +1,5 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. plugins { - alias(libs.plugins.androidLibrary) apply false - alias(libs.plugins.jetbrainsKotlinAndroid) apply false + alias(libs.plugins.android.library) apply false + alias(libs.plugins.jetbrains.kotlin.android) apply false } diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 868a38b..a26acbd 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,19 +1,19 @@ [versions] +kotlin = "1.9.22" agp = "8.2.2" -datetime = "0.5.0" + firebase-firestore = "24.10.2" -kotlin = "1.9.22" junit = "5.10.2" -serialization = "1.6.3" +kotlinx-datetime = "0.5.0" +kotlinx-serialization = "1.6.3" [libraries] -junit = { group = "org.junit.jupiter", name = "junit-jupiter", version.ref = "junit" } -kotlinx-serialization = { group = "org.jetbrains.kotlinx", name = "kotlinx-serialization-json", version.ref = "serialization" } - -kotlinx-datetime = { group = "org.jetbrains.kotlinx", name = "kotlinx-datetime", version.ref = "datetime" } firebase-firestore = { group = "com.google.firebase", name = "firebase-firestore-ktx", version.ref = "firebase-firestore" } +junit = { group = "org.junit.jupiter", name = "junit-jupiter", version.ref = "junit" } +kotlinx-serialization = { group = "org.jetbrains.kotlinx", name = "kotlinx-serialization-json", version.ref = "kotlinx-serialization" } +kotlinx-datetime = { group = "org.jetbrains.kotlinx", name = "kotlinx-datetime", version.ref = "kotlinx-datetime" } [plugins] -androidLibrary = { id = "com.android.library", version.ref = "agp" } -jetbrainsKotlinAndroid = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" } +android-library = { id = "com.android.library", version.ref = "agp" } +jetbrains-kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" } kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" } diff --git a/lib/build.gradle.kts b/lib/build.gradle.kts index 254c3ef..502e000 100644 --- a/lib/build.gradle.kts +++ b/lib/build.gradle.kts @@ -1,8 +1,8 @@ import java.util.Properties plugins { - alias(libs.plugins.androidLibrary) - alias(libs.plugins.jetbrainsKotlinAndroid) + alias(libs.plugins.android.library) + alias(libs.plugins.jetbrains.kotlin.android) alias(libs.plugins.kotlin.serialization) `maven-publish` signing