Hi, I'm doing some experimentation with KSP on multiplatform projects and one of my goal would be to generate classes only for a specific plateform (JS) but I didn't in the KSP models where is the information about the plateform. Any idea on how I could to that?
Meanwhile, you can disable Gradle KSP tasks for other platforms
a
Adrien Poupard
10/22/2021, 1:34 PM
thanks for the answers
g
Grégory Lureau
10/22/2021, 2:17 PM
Did you successfully did it @edrd ? I got some issues on my side, rn I need to run compileKotlinJs first with KSP, then jsBrowserDistribution without it (I have a flag when starting gradle to enable or not KSP, but it's done in 2 distinct gradle run).
e
edrd
10/22/2021, 2:39 PM
@Grégory Lureau I was able to disable JS processing for my use-case with: