abbic
02/18/2023, 2:24 PMimplementation(path: ':common')ephemient
02/18/2023, 7:47 PMephemient
02/18/2023, 7:49 PMabbic
02/18/2023, 7:49 PMabbic
02/18/2023, 7:49 PMabbic
02/18/2023, 7:50 PMephemient
02/18/2023, 7:50 PMabbic
02/18/2023, 7:51 PMabbic
02/18/2023, 7:52 PMabbic
02/18/2023, 7:54 PMephemient
02/18/2023, 7:54 PMephemient
02/18/2023, 7:58 PM:lib
src/main
src/debug
src/release
:app
src/main
src/debug
src/release
:lib produces two variants, debug (which includes code from both src/main and src/debug) and release (which includes code from both src/main and src/release).
in :app, code in src/main can use code in `:lib`'s src/main, code in src/debug can use code in `:lib`'s src/main and src/debug, and code in src/release can use code in `:lib`'s src/main and src/release.
(there's some boundaries here that aren't as well enforced as KMP but that's basically the idea)ephemient
02/18/2023, 8:00 PM:lib
src/commonMain
src/jvmMain
:app
src/commonMain
src/jvmMain
with the jvm platform containing code in both src/commonMain and src/jvmMain, and matching across module dependenciesephemient
02/18/2023, 8:01 PMabbic
02/18/2023, 8:02 PMroot-project
:lib
src/commonMain
src/jvmMain
:app
src/commonMain
src/jvmMain
this makes sense to me, but the default compose multiplatform project looks more like
:root-project
src/commonMain
src/jvmMainabbic
02/18/2023, 8:03 PM:root-project
src/commonMain
src/jvmMain
:module
etcephemient
02/18/2023, 8:03 PMabbic
02/18/2023, 8:03 PMephemient
02/18/2023, 8:04 PMephemient
02/18/2023, 8:04 PMabbic
02/18/2023, 8:04 PMephemient
02/18/2023, 8:04 PM:
src/...
:lib
src/...abbic
02/18/2023, 8:04 PMabbic
02/18/2023, 8:05 PM