diff --git a/artifacts.json b/artifacts.json index 0128a04ea..4705f9acc 100644 --- a/artifacts.json +++ b/artifacts.json @@ -243,7 +243,7 @@ "publicationName": "maven" }, { - "gradlePath": ":workflow-ui:core-common", + "gradlePath": ":workflow-ui:core", "group": "com.squareup.workflow1", "artifactId": "workflow-ui-core-common-jvm", "description": "Workflow UI Core", @@ -260,4 +260,4 @@ "javaVersion": 8, "publicationName": "maven" } -] \ No newline at end of file +] diff --git a/benchmarks/performance-poetry/complex-poetry/build.gradle.kts b/benchmarks/performance-poetry/complex-poetry/build.gradle.kts index a228c7cfc..874960cd9 100644 --- a/benchmarks/performance-poetry/complex-poetry/build.gradle.kts +++ b/benchmarks/performance-poetry/complex-poetry/build.gradle.kts @@ -64,7 +64,7 @@ dependencies { api(project(":workflow-core")) api(project(":workflow-runtime")) api(project(":workflow-ui:core-android")) - api(project(":workflow-ui:core-common")) + api(project(":workflow-ui:core")) debugImplementation(libs.squareup.leakcanary.android) diff --git a/build-logic/src/main/java/com/squareup/workflow1/buildsrc/AndroidSampleAppPlugin.kt b/build-logic/src/main/java/com/squareup/workflow1/buildsrc/AndroidSampleAppPlugin.kt index eef6fcb5f..90cc1f958 100644 --- a/build-logic/src/main/java/com/squareup/workflow1/buildsrc/AndroidSampleAppPlugin.kt +++ b/build-logic/src/main/java/com/squareup/workflow1/buildsrc/AndroidSampleAppPlugin.kt @@ -2,7 +2,7 @@ package com.squareup.workflow1.buildsrc import com.android.build.gradle.TestedExtension import com.android.build.gradle.internal.dsl.BaseAppModuleExtension -import com.rickbusarow.kgx.dependency +import com.rickbusarow.kgx.library import com.rickbusarow.kgx.libsCatalog import com.squareup.workflow1.buildsrc.internal.implementation import com.squareup.workflow1.buildsrc.internal.invoke @@ -31,8 +31,8 @@ class AndroidSampleAppPlugin : Plugin { implementation(target.project(":workflow-runtime")) implementation(target.project(":workflow-config:config-android")) - implementation(target.libsCatalog.dependency("androidx-appcompat")) - implementation(target.libsCatalog.dependency("timber")) + implementation(target.libsCatalog.library("androidx-appcompat")) + implementation(target.libsCatalog.library("timber")) } } } diff --git a/samples/compose-samples/README.md b/samples/compose-samples/README.md index 87bd9e664..f5915d784 100644 --- a/samples/compose-samples/README.md +++ b/samples/compose-samples/README.md @@ -3,12 +3,11 @@ This module is named "compose-samples" because the binary validation tool seems to refuse to look at the `:workflow-ui:compose` module if this one is also named `compose`. +## iOS -# iOS 1. To run the iOS target you need to be on a Mac and have Xcode installed. -2. Then install the Kotlin Multiplatform plugin for your intellij IDE -3. Finally go to run configurations and add a new iOS Application configuration and select the iOS -project file in ./iosApp +1. Then install the Kotlin Multiplatform plugin for your intellij IDE +1. Finally go to run configurations and add a new iOS Application configuration and select the iOS project file in ./iosApp [To enable iOS debugging](https://appkickstarter.com/blog/debug-an-ios-kotlin-multiplatform-app-from-android-studio/) open Settings -> Advanced Settings -> Enable experimental Multiplatform IDE features diff --git a/samples/compose-samples/build.gradle.kts b/samples/compose-samples/build.gradle.kts index a12718bdb..3f13fcd05 100644 --- a/samples/compose-samples/build.gradle.kts +++ b/samples/compose-samples/build.gradle.kts @@ -73,7 +73,6 @@ kotlin { implementation(project(":workflow-config:config-android")) implementation(project(":workflow-ui:compose-tooling")) implementation(project(":workflow-ui:core-android")) - implementation(project(":workflow-ui:core-common")) } val iosX64Main by getting diff --git a/samples/containers/android/build.gradle.kts b/samples/containers/android/build.gradle.kts index bfa449036..93b33534e 100644 --- a/samples/containers/android/build.gradle.kts +++ b/samples/containers/android/build.gradle.kts @@ -27,7 +27,7 @@ dependencies { api(project(":samples:containers:common")) api(project(":workflow-ui:core-android")) - api(project(":workflow-ui:core-common")) + api(project(":workflow-ui:core")) implementation(libs.androidx.appcompat) implementation(libs.androidx.core) diff --git a/samples/containers/common/build.gradle.kts b/samples/containers/common/build.gradle.kts index 6616f0991..8a75c69aa 100644 --- a/samples/containers/common/build.gradle.kts +++ b/samples/containers/common/build.gradle.kts @@ -3,7 +3,7 @@ plugins { } dependencies { - api(project(":workflow-ui:core-common")) + api(project(":workflow-ui:core")) implementation(libs.kotlin.jdk6) diff --git a/samples/containers/hello-back-button/build.gradle.kts b/samples/containers/hello-back-button/build.gradle.kts index 6cd6a7118..21218a84f 100644 --- a/samples/containers/hello-back-button/build.gradle.kts +++ b/samples/containers/hello-back-button/build.gradle.kts @@ -20,5 +20,5 @@ dependencies { implementation(project(":samples:containers:android")) implementation(project(":workflow-ui:core-android")) - implementation(project(":workflow-ui:core-common")) + implementation(project(":workflow-ui:core")) } diff --git a/samples/containers/poetry/build.gradle.kts b/samples/containers/poetry/build.gradle.kts index e362d69a1..3872cc39e 100644 --- a/samples/containers/poetry/build.gradle.kts +++ b/samples/containers/poetry/build.gradle.kts @@ -15,7 +15,7 @@ dependencies { api(project(":samples:containers:common")) api(project(":workflow-core")) api(project(":workflow-ui:core-android")) - api(project(":workflow-ui:core-common")) + api(project(":workflow-ui:core")) implementation(libs.androidx.appcompat) implementation(libs.androidx.recyclerview) diff --git a/samples/dungeon/app/build.gradle.kts b/samples/dungeon/app/build.gradle.kts index 0c15f339a..624250147 100644 --- a/samples/dungeon/app/build.gradle.kts +++ b/samples/dungeon/app/build.gradle.kts @@ -49,7 +49,7 @@ dependencies { implementation(project(":samples:dungeon:timemachine-shakeable")) implementation(project(":workflow-tracing")) implementation(project(":workflow-ui:core-android")) - implementation(project(":workflow-ui:core-common")) + implementation(project(":workflow-ui:core")) testImplementation(libs.junit) testImplementation(libs.truth) diff --git a/samples/dungeon/common/build.gradle.kts b/samples/dungeon/common/build.gradle.kts index c635fbdd4..e85a53c80 100644 --- a/samples/dungeon/common/build.gradle.kts +++ b/samples/dungeon/common/build.gradle.kts @@ -7,7 +7,7 @@ dependencies { api(libs.squareup.okio) api(project(":workflow-core")) - api(project(":workflow-ui:core-common")) + api(project(":workflow-ui:core")) implementation(libs.kotlin.jdk8) implementation(libs.kotlinx.coroutines.core) diff --git a/samples/dungeon/timemachine-shakeable/build.gradle.kts b/samples/dungeon/timemachine-shakeable/build.gradle.kts index be1aeab47..4535fc332 100644 --- a/samples/dungeon/timemachine-shakeable/build.gradle.kts +++ b/samples/dungeon/timemachine-shakeable/build.gradle.kts @@ -14,7 +14,7 @@ dependencies { api(project(":samples:dungeon:timemachine")) api(project(":workflow-core")) api(project(":workflow-ui:core-android")) - api(project(":workflow-ui:core-common")) + api(project(":workflow-ui:core")) implementation(libs.androidx.appcompat) implementation(libs.androidx.constraintlayout) diff --git a/samples/hello-workflow-fragment/build.gradle.kts b/samples/hello-workflow-fragment/build.gradle.kts index 720f031b7..d060e07d2 100644 --- a/samples/hello-workflow-fragment/build.gradle.kts +++ b/samples/hello-workflow-fragment/build.gradle.kts @@ -20,5 +20,5 @@ dependencies { implementation(libs.androidx.lifecycle.viewmodel.savedstate) implementation(project(":workflow-ui:core-android")) - implementation(project(":workflow-ui:core-common")) + implementation(project(":workflow-ui:core")) } diff --git a/samples/hello-workflow/build.gradle.kts b/samples/hello-workflow/build.gradle.kts index 8a584863d..65f1e4710 100644 --- a/samples/hello-workflow/build.gradle.kts +++ b/samples/hello-workflow/build.gradle.kts @@ -21,5 +21,5 @@ dependencies { implementation(libs.androidx.viewbinding) implementation(project(":workflow-ui:core-android")) - implementation(project(":workflow-ui:core-common")) + implementation(project(":workflow-ui:core")) } diff --git a/samples/nested-overlays/build.gradle.kts b/samples/nested-overlays/build.gradle.kts index d3ecfb610..d618ed695 100644 --- a/samples/nested-overlays/build.gradle.kts +++ b/samples/nested-overlays/build.gradle.kts @@ -21,5 +21,5 @@ dependencies { implementation(libs.androidx.viewbinding) implementation(project(":workflow-ui:core-android")) - implementation(project(":workflow-ui:core-common")) + implementation(project(":workflow-ui:core")) } diff --git a/samples/stub-visibility/build.gradle.kts b/samples/stub-visibility/build.gradle.kts index 5faafe000..ff54d305b 100644 --- a/samples/stub-visibility/build.gradle.kts +++ b/samples/stub-visibility/build.gradle.kts @@ -21,5 +21,5 @@ dependencies { implementation(libs.androidx.viewbinding) implementation(project(":workflow-ui:core-android")) - implementation(project(":workflow-ui:core-common")) + implementation(project(":workflow-ui:core")) } diff --git a/samples/tictactoe/app/build.gradle.kts b/samples/tictactoe/app/build.gradle.kts index 3bf58b7d7..b0a330407 100644 --- a/samples/tictactoe/app/build.gradle.kts +++ b/samples/tictactoe/app/build.gradle.kts @@ -41,5 +41,5 @@ dependencies { implementation(project(":samples:tictactoe:common")) implementation(project(":workflow-tracing")) implementation(project(":workflow-ui:core-android")) - implementation(project(":workflow-ui:core-common")) + implementation(project(":workflow-ui:core")) } diff --git a/samples/tictactoe/common/build.gradle.kts b/samples/tictactoe/common/build.gradle.kts index ca3b3ad1c..58e325675 100644 --- a/samples/tictactoe/common/build.gradle.kts +++ b/samples/tictactoe/common/build.gradle.kts @@ -7,7 +7,7 @@ dependencies { api(libs.squareup.okio) api(project(":workflow-core")) - api(project(":workflow-ui:core-common")) + api(project(":workflow-ui:core")) implementation(libs.kotlin.jdk6) implementation(libs.kotlinx.coroutines.core) diff --git a/samples/todo-android/app/build.gradle.kts b/samples/todo-android/app/build.gradle.kts index c6b5b76b8..4c9196178 100644 --- a/samples/todo-android/app/build.gradle.kts +++ b/samples/todo-android/app/build.gradle.kts @@ -31,7 +31,7 @@ dependencies { implementation(project(":workflow-core")) implementation(project(":workflow-tracing")) implementation(project(":workflow-ui:core-android")) - implementation(project(":workflow-ui:core-common")) + implementation(project(":workflow-ui:core")) testImplementation(libs.junit) testImplementation(libs.truth) diff --git a/workflow-ui/compose-tooling/build.gradle.kts b/workflow-ui/compose-tooling/build.gradle.kts index fddcb9a74..1ff5a300b 100644 --- a/workflow-ui/compose-tooling/build.gradle.kts +++ b/workflow-ui/compose-tooling/build.gradle.kts @@ -46,5 +46,5 @@ dependencies { implementation(project(":workflow-ui:compose")) implementation(project(":workflow-ui:core-android")) - implementation(project(":workflow-ui:core-common")) + implementation(project(":workflow-ui:core")) } diff --git a/workflow-ui/core-android/build.gradle.kts b/workflow-ui/core-android/build.gradle.kts index 9f634d9f6..1bcc3d53d 100644 --- a/workflow-ui/core-android/build.gradle.kts +++ b/workflow-ui/core-android/build.gradle.kts @@ -20,7 +20,7 @@ dependencies { // Needs to be API for the WorkflowInterceptor argument to WorkflowRunner.Config. api(project(":workflow-runtime")) - api(project(":workflow-ui:core-common")) + api(project(":workflow-ui:core")) compileOnly(libs.androidx.viewbinding) diff --git a/workflow-ui/internal-testing-android/build.gradle.kts b/workflow-ui/internal-testing-android/build.gradle.kts index c61f8dfe7..d036f9788 100644 --- a/workflow-ui/internal-testing-android/build.gradle.kts +++ b/workflow-ui/internal-testing-android/build.gradle.kts @@ -27,7 +27,7 @@ dependencies { api(libs.truth) api(project(":workflow-ui:core-android")) - api(project(":workflow-ui:core-common")) + api(project(":workflow-ui:core")) implementation(libs.androidx.lifecycle.common) implementation(libs.squareup.leakcanary.instrumentation) diff --git a/workflow-ui/radiography/build.gradle.kts b/workflow-ui/radiography/build.gradle.kts index 57ae06267..84982144a 100644 --- a/workflow-ui/radiography/build.gradle.kts +++ b/workflow-ui/radiography/build.gradle.kts @@ -17,5 +17,5 @@ dependencies { implementation(libs.squareup.radiography) implementation(project(":workflow-ui:core-android")) - implementation(project(":workflow-ui:core-common")) + implementation(project(":workflow-ui:core")) }