I want to write a common library that only has common sourceset and it can be depended from the common main of another mpp project and the codes run on any target. How should I do it?
b
Big Chungus
07/21/2021, 3:00 PM
Ya can't. All targets needs to be declared and published explicitly, even if they have no sources
j
Jason5lee
07/21/2021, 3:06 PM
So how does something like “coroutine-core” do?
b
Big Chungus
07/21/2021, 3:12 PM
They declare all targets explicitly
Big Chungus
07/21/2021, 3:12 PM
Also even coroutines-core doesn't cover all the targets