Skip to content

Commit

Permalink
kotlin-parcelize
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnBuhanan committed May 5, 2024
1 parent bcd4da6 commit eadc903
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 3 deletions.
1 change: 1 addition & 0 deletions buildSrc/src/main/kotlin/com/lemmus/extension/Circuit.kt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import org.gradle.kotlin.dsl.dependencies

fun Project.circuit() {
applyOnce<KspGradleSubplugin>()
applyOnce("kotlin-parcelize")

dependencies {
"implementation"(libs.bundles.circuit)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,3 @@ class PostsPresenter @AssistedInject constructor(
fun create(navigator: Navigator): PostsPresenter
}
}

6 changes: 5 additions & 1 deletion feature/posts/public/build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
plugins {
id 'lemmus.kotlin.library'
id 'lemmus.android.library'
}

lemmus {
circuit()
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package com.lemmus.feature.posts

import com.slack.circuit.runtime.screen.Screen
import kotlinx.parcelize.Parcelize

@Parcelize
object PostsScreen : Screen
6 changes: 5 additions & 1 deletion feature/splash/public/build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
plugins {
id 'lemmus.kotlin.library'
id 'lemmus.android.library'
}

lemmus {
circuit()
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package com.lemmus.feature.splash

import com.slack.circuit.runtime.screen.Screen
import kotlinx.parcelize.Parcelize

@Parcelize
object SplashScreen : Screen

0 comments on commit eadc903

Please sign in to comment.