icerockdev / moko-kswift

Swift-friendly api generator for Kotlin/Native frameworks
https://moko.icerock.dev
Apache License 2.0
348 stars 21 forks source link

How do you prevent the library from being generated? #69

Closed Egi10 closed 1 year ago

Egi10 commented 1 year ago

I have some libraries that shouldn't be generated, I've tried using the following:

excludeLibrary("com.russhwolf:multiplatform-settings-no-arg") excludeLibrary("com.russhwolf:multiplatform-settings-serialization") excludeLibrary("com.russhwolf:multiplatform-settings-coroutines") excludeLibrary("com.russhwolf:multiplatform-settings-test")

or like this:

excludeLibrary("multiplatform-settings-no-arg") excludeLibrary("multiplatform-settings-serialization") excludeLibrary("multiplatform-settings-coroutines") excludeLibrary("multiplatform-settings-test")

but it always generates, how do you prevent it from generating?

Egi10 commented 1 year ago

[Solved]

I had a problem with caching on my gradle, so I implemented this first :

./gradlew clean ./gradlew kSwiftsharedPodspec