Skip to content

Commit

Permalink
Rename protocol modules to 'guest' and 'host' (#1641)
Browse files Browse the repository at this point in the history
From 'compose' and 'widget', respectively.
  • Loading branch information
JakeWharton authored Oct 27, 2023
1 parent 83ef069 commit 667fff5
Show file tree
Hide file tree
Showing 40 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions redwood-gradle-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ test {
dependsOn(':redwood-compose:publishAllPublicationsToLocalMavenRepository')
dependsOn(':redwood-gradle-plugin:publishAllPublicationsToLocalMavenRepository')
dependsOn(':redwood-protocol:publishAllPublicationsToLocalMavenRepository')
dependsOn(':redwood-protocol-compose:publishAllPublicationsToLocalMavenRepository')
dependsOn(':redwood-protocol-widget:publishAllPublicationsToLocalMavenRepository')
dependsOn(':redwood-protocol-guest:publishAllPublicationsToLocalMavenRepository')
dependsOn(':redwood-protocol-host:publishAllPublicationsToLocalMavenRepository')
dependsOn(':redwood-runtime:publishAllPublicationsToLocalMavenRepository')
dependsOn(':redwood-schema:publishAllPublicationsToLocalMavenRepository')
dependsOn(':redwood-tooling-codegen:publishAllPublicationsToLocalMavenRepository')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ public abstract class RedwoodGeneratorPlugin(
internal val dependencyArtifactId: String,
) {
Compose("--compose", "redwood-compose"),
ComposeProtocol("--compose-protocol", "redwood-protocol-compose"),
ComposeProtocol("--compose-protocol", "redwood-protocol-guest"),
Modifiers("--modifier", "redwood-runtime"),
Testing("--testing", "redwood-testing"),
Widget("--widget", "redwood-widget"),
WidgetProtocol("--widget-protocol", "redwood-protocol-widget"),
WidgetProtocol("--widget-protocol", "redwood-protocol-host"),
}

override fun apply(project: Project) {
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion redwood-testing/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ kotlin {
dependencies {
api libs.jetbrains.compose.runtime
api libs.kotlinx.coroutines.core
api projects.redwoodProtocolCompose
api projects.redwoodProtocolGuest
}
}
commonTest {
Expand Down
2 changes: 1 addition & 1 deletion redwood-treehouse-guest-compose/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ kotlin {
sourceSets {
commonMain {
dependencies {
api projects.redwoodProtocolCompose
api projects.redwoodProtocolGuest
api libs.jetbrains.compose.runtime
}
}
Expand Down
2 changes: 1 addition & 1 deletion redwood-treehouse-guest/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ kotlin {
api libs.okio
api libs.zipline
api projects.redwoodProtocol
api projects.redwoodProtocolCompose
api projects.redwoodProtocolGuest
api projects.redwoodTreehouse
api projects.redwoodTreehouseGuestCompose
}
Expand Down
2 changes: 1 addition & 1 deletion redwood-treehouse-host/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ kotlin {
api libs.zipline
api libs.zipline.loader
api projects.redwoodProtocol
api projects.redwoodProtocolWidget
api projects.redwoodProtocolHost
api projects.redwoodTreehouse
}
}
Expand Down
4 changes: 2 additions & 2 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ include ':redwood-lazylayout-uiview'
include ':redwood-lazylayout-view'
include ':redwood-lazylayout-widget'
include ':redwood-protocol'
include ':redwood-protocol-compose'
include ':redwood-protocol-widget'
include ':redwood-protocol-guest'
include ':redwood-protocol-host'
include ':redwood-runtime'
include ':redwood-schema'
include ':redwood-testing'
Expand Down
2 changes: 1 addition & 1 deletion test-app/presenter/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ kotlin {
dependencies {
implementation projects.testApp.schema.compose
implementation projects.redwoodLazylayoutCompose
implementation projects.redwoodProtocolCompose
implementation libs.paging.compose.common
implementation libs.kotlinx.coroutines.core
implementation libs.kotlinx.serialization.json
}
}
}
Expand Down

0 comments on commit 667fff5

Please sign in to comment.