diff --git a/buildSrc/src/main/kotlin/com/lemmus/extension/Circuit.kt b/buildSrc/src/main/kotlin/com/lemmus/extension/Circuit.kt index ac9c15f..233cef8 100644 --- a/buildSrc/src/main/kotlin/com/lemmus/extension/Circuit.kt +++ b/buildSrc/src/main/kotlin/com/lemmus/extension/Circuit.kt @@ -6,6 +6,7 @@ import org.gradle.kotlin.dsl.dependencies fun Project.circuit() { applyOnce() + applyOnce("kotlin-parcelize") dependencies { "implementation"(libs.bundles.circuit) diff --git a/feature/posts/internal/src/main/kotlin/com/lemmus/feature/posts/internal/PostsPresenter.kt b/feature/posts/internal/src/main/kotlin/com/lemmus/feature/posts/internal/PostsPresenter.kt index b0239e9..f905fc4 100644 --- a/feature/posts/internal/src/main/kotlin/com/lemmus/feature/posts/internal/PostsPresenter.kt +++ b/feature/posts/internal/src/main/kotlin/com/lemmus/feature/posts/internal/PostsPresenter.kt @@ -49,4 +49,3 @@ class PostsPresenter @AssistedInject constructor( fun create(navigator: Navigator): PostsPresenter } } - diff --git a/feature/posts/public/build.gradle b/feature/posts/public/build.gradle index 16ecdfe..9d4618f 100644 --- a/feature/posts/public/build.gradle +++ b/feature/posts/public/build.gradle @@ -1,3 +1,7 @@ plugins { - id 'lemmus.kotlin.library' + id 'lemmus.android.library' +} + +lemmus { + circuit() } diff --git a/feature/posts/public/src/main/kotlin/com/lemmus/feature/posts/PostsScreen.kt b/feature/posts/public/src/main/kotlin/com/lemmus/feature/posts/PostsScreen.kt index 463b53b..3bd9155 100644 --- a/feature/posts/public/src/main/kotlin/com/lemmus/feature/posts/PostsScreen.kt +++ b/feature/posts/public/src/main/kotlin/com/lemmus/feature/posts/PostsScreen.kt @@ -1,5 +1,7 @@ package com.lemmus.feature.posts import com.slack.circuit.runtime.screen.Screen +import kotlinx.parcelize.Parcelize +@Parcelize object PostsScreen : Screen diff --git a/feature/splash/public/build.gradle b/feature/splash/public/build.gradle index 16ecdfe..9d4618f 100644 --- a/feature/splash/public/build.gradle +++ b/feature/splash/public/build.gradle @@ -1,3 +1,7 @@ plugins { - id 'lemmus.kotlin.library' + id 'lemmus.android.library' +} + +lemmus { + circuit() } diff --git a/feature/splash/public/src/main/kotlin/com/lemmus/feature/splash/SplashScreen.kt b/feature/splash/public/src/main/kotlin/com/lemmus/feature/splash/SplashScreen.kt index aece9f0..53cd52c 100644 --- a/feature/splash/public/src/main/kotlin/com/lemmus/feature/splash/SplashScreen.kt +++ b/feature/splash/public/src/main/kotlin/com/lemmus/feature/splash/SplashScreen.kt @@ -1,5 +1,7 @@ package com.lemmus.feature.splash import com.slack.circuit.runtime.screen.Screen +import kotlinx.parcelize.Parcelize +@Parcelize object SplashScreen : Screen