Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use flowOn to make multiplexing actually parallel. #496

Merged
merged 1 commit into from
Mar 2, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .bazelignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ examples/jetpack_compose
examples/node
examples/trivial
examples/anvil
examples/multiplex
4 changes: 4 additions & 0 deletions examples/multiplex/.bazelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
build --worker_verbose
build --worker_max_instances=1
build --worker_quit_after_build
build --profile=/tmp/profile.gz
1 change: 1 addition & 0 deletions examples/multiplex/.bazelversion
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
4.0.0
Empty file added examples/multiplex/BUILD
Empty file.
12 changes: 12 additions & 0 deletions examples/multiplex/WORKSPACE
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
workspace(name = "multiplex")

local_repository(
name = "io_bazel_rules_kotlin",
path = "../../bazel-bin/rules_kotlin_release.tgz",
)

load("@io_bazel_rules_kotlin//kotlin:kotlin.bzl", "kotlin_repositories", "kt_register_toolchains")

kotlin_repositories()

kt_register_toolchains()
26 changes: 26 additions & 0 deletions examples/multiplex/src/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
load("@io_bazel_rules_kotlin//kotlin:kotlin.bzl", "kt_jvm_library")

kt_jvm_library(
name = "big",
srcs = ["Big.kt"],
)

kt_jvm_library(
name = "small",
srcs = ["Small.kt"],
)

kt_jvm_library(
name = "small2",
srcs = ["Small2.kt"],
)

kt_jvm_library(
name = "small3",
srcs = ["Small3.kt"],
)

kt_jvm_library(
name = "small4",
srcs = ["Small4.kt"],
)
Loading