Is there any good documentation about the kotlin m...
# gradle
h
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
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
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.