forked from slackhq/circuit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This splits up our current `core` artifact into four separate artifacts and takes some inspiration from compose's naming. - `circuit-runtime`: common runtime components like Screen, Navigator, etc. - `circuit-runtime-presenter`: the `Presenter` API, depends on `circuit-runtime`. - `circuit-runtime-ui`: the `Ui` API, depends on `circuit-ui`. - `circuit-foundation`: the circuit foundational APIs like `CircuitConfig`, `CircuitContent`, etc. Depends on the first three. The goal in this is to allow more granular dependencies and easier building against subsets of the API. For example, this would allow a presenter implementation to easily live in a standalone module that doesn't depend on any UI dependencies. Vice versa for UI implementations. Where I think this could really shine is in multiplatform projects where Circuit's UI APIs may be more or less abstracted away in service of using native UI, like in iOS. Resolves slackhq#450 ### `circuit-runtime` artifact | Before | After | | ------ | ----- | | com.slack.circuit.CircuitContext | com.slack.circuit.runtime.CircuitContext | | com.slack.circuit.CircuitUiState | com.slack.circuit.runtime.CircuitUiState | | com.slack.circuit.CircuitUiEvent | com.slack.circuit.runtime.CircuitUiEvent | | com.slack.circuit.Navigator | com.slack.circuit.runtime.Navigator | | com.slack.circuit.Screen | com.slack.circuit.runtime.Screen | ### `circuit-runtime-presenter` artifact | Before | After | | ------ | ----- | | com.slack.circuit.Presenter | com.slack.circuit.runtime.presenter.Presenter | ### `circuit-runtime-ui` artifact | Before | After | | ------ | ----- | | com.slack.circuit.Ui | com.slack.circuit.runtime.presenter.Ui | ### `circuit-foundation` artifact | Before | After | | ------ | ----- | | com.slack.circuit.CircuitCompositionLocals | com.slack.circuit.foundation.CircuitCompositionLocals | | com.slack.circuit.CircuitConfig | com.slack.circuit.foundation.CircuitConfig | | com.slack.circuit.CircuitContent | com.slack.circuit.foundation.CircuitContent | | com.slack.circuit.EventListener | com.slack.circuit.foundation.EventListener | | com.slack.circuit.NavEvent | com.slack.circuit.foundation.NavEvent | | com.slack.circuit.onNavEvent | com.slack.circuit.foundation.onNavEvent | | com.slack.circuit.NavigableCircuitContent | com.slack.circuit.foundation.NavigableCircuitContent | | com.slack.circuit.NavigatorDefaults | com.slack.circuit.foundation.NavigatorDefaults | | com.slack.circuit.rememberCircuitNavigator | com.slack.circuit.foundation.rememberCircuitNavigator | | com.slack.circuit.push | com.slack.circuit.foundation.push | | com.slack.circuit.screen | com.slack.circuit.foundation.screen |
- Loading branch information
Showing
87 changed files
with
17,144 additions
and
638 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 0 additions & 41 deletions
41
circuit-codegen-annotations/dependencies/androidReleaseRuntimeClasspath.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
POM_ARTIFACT_ID=circuit-foundation | ||
POM_NAME=Circuit (Foundation) | ||
POM_DESCRIPTION=Circuit Foundation |
Oops, something went wrong.