https://kotlinlang.org logo
#gradle
Title
# gradle
h

hfhbd

03/21/2023, 1:36 PM
Is there any good documentation about the kotlin mpp gradle plugin for Gradle plugin authors? How to get the targets, the sourcesets and the tasks per target, ideally all lazy? And btw what's the use-case for creating
ObserableSet
and not using
NamedDomainObjectSet
? 🤔
j

Javier

03/21/2023, 1:48 PM
No idea about docs but some things I found: • There is no interoperability with
SourceSetContainer
(Kotlin JVM supports it) • I use the
kotlin.sourceSets
with no issues to create custom sets for apple and native. • I find no way to get a "native" or "apple" target working, only as source sets. • A common JVM + Android source set must be done in a different way to the rest of source sets
t

tapchicoma

03/21/2023, 1:52 PM
Unfortunately no. We are planning to publish KGP-api API reference into kotlinlang.org, though it is expected not everything needed is there and MPP part will be quite limited.
4 Views