Hey everyone!! I've published a short <article> on...
# feed
v
Hey everyone!! I've published a short article on Creating Custom Gradle Convention Plugins to simplify multi-module Gradle configurations for KMP and CMP. Let me know what y'all thing, Looking forward to feedbacks
🙌 8
s
By the way, there's a sneaky way to get access to the type-safe version catalog in your convention plugins. I think it was this:
Copy code
import org.gradle.accessors.dm.LibrariesForLibs
import org.gradle.kotlin.dsl.the

private val Project.libs: LibrariesForLibs
    get() = the<LibrariesForLibs>()
It's not documented and not officially supported to my knowledge. So use at your own peril; but works absolutely fine for me.