Hello, does the plugin handle the Gradle cache ? (...
# kmp-swift-package-manager
f
Hello, does the plugin handle the Gradle cache ? (or will handle ?)
t
Hey. No, at the moment, Gradle build cache will not be supported. We have caching as one of the most immediate improvements, but it's not yet clear if it will be implemented using Gradle's build caching APIs
f
Thanks, just talking about build performance; the current sample have few (and small) native dependencies; on larger project the plugin steps could take a lot of time, the clean task removes file that could be reuse easily. Does the cocoapods plugin have caching capabilities? I don’t remember well
t
> Does the cocoapods plugin have caching capabilities? No, the heaviest task that does
xcodebuild
is not cached
f
For spmForKmp I did a lot of work to make the cache working and use the “FROM-CACHE” task. Add the capability to move the native build output outside the Kotlin build folder was my first optimization feature. The Kotlin native compiler is (infortunate) slow, I just wanted to avoid adding more build time.