From 6e77fb855d416d862fd961daa820a31db8286204 Mon Sep 17 00:00:00 2001 From: LEE YOU BIN Date: Mon, 1 Jul 2024 03:13:13 +0900 Subject: [PATCH] [FEAT/#1] parcelize in version catalog --- app/build.gradle.kts | 2 +- build.gradle.kts | 1 + feature/build.gradle.kts | 4 ++-- gradle/libs.versions.toml | 4 +++- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index e41ab8e99..d41668200 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -4,7 +4,7 @@ plugins { alias(libs.plugins.android.application) alias(libs.plugins.kotlin.android) alias(libs.plugins.hilt) - id("kotlin-parcelize") + alias(libs.plugins.kotlin.parcelize) alias(libs.plugins.ksp) } diff --git a/build.gradle.kts b/build.gradle.kts index e2e409ee6..c5adb7afd 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -8,6 +8,7 @@ plugins { alias(libs.plugins.hilt) apply false alias(libs.plugins.android.test) apply false alias(libs.plugins.ksp) apply false + alias(libs.plugins.kotlin.parcelize) apply false } buildscript { diff --git a/feature/build.gradle.kts b/feature/build.gradle.kts index 13c39171d..d82320d54 100644 --- a/feature/build.gradle.kts +++ b/feature/build.gradle.kts @@ -3,8 +3,8 @@ plugins { alias(libs.plugins.kotlin.android) alias(libs.plugins.hilt) alias(libs.plugins.ksp) - id("kotlin-parcelize") - id("org.jetbrains.kotlin.plugin.serialization") + alias(libs.plugins.kotlin.parcelize) + alias(libs.plugins.kotlin.serialization) } android { diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 0dffc8bf8..23b077658 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -45,6 +45,7 @@ kotlin = "1.9.0" kotlinxImmutable = "0.3.7" kotlinxSerializationJsonVersion = "1.5.1" serialization = "1.6.3" +kotlinParcelize = "1.8.20" ## Coroutine coroutine = "1.8.1" @@ -154,4 +155,5 @@ kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" } kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" } hilt = { id = "com.google.dagger.hilt.android", version.ref = "hilt" } android-test = { id = "com.android.test", version.ref = "androidGradlePlugin" } -ksp = {id = "com.google.devtools.ksp", version.ref = "ksp"} \ No newline at end of file +ksp = {id = "com.google.devtools.ksp", version.ref = "ksp"} +kotlin-parcelize = { id = "org.jetbrains.kotlin.plugin.parcelize", version.ref = "kotlinParcelize" } \ No newline at end of file