https://kotlinlang.org logo
#ksp
Title
# ksp
d

Dmytro Serdiuk

03/14/2024, 8:09 PM
Hello! I saw kspCommonMainMetadata should be added to dependencies for multiplatform project to use ksp. As I understand, metadata is an internal target from multiplatform plugin used to create API for commonMain source set. but why commonMain+metadata is used as a ‘target’ or ‘sourceSet’ identifier? Thanks
j

Jiaxiang

03/14/2024, 8:15 PM
That more of a KMP question, KSP reads the task name from kotlin Gradle plugin, this is whatever we read from KGP.
d

Dmytro Serdiuk

03/14/2024, 8:17 PM
thanks for the reply, I’ll ask this question there.
3 Views