I’ve been wanting to make some gradle plugins for fun for a while and was wondering if anyone has a tutorial on it or knows how to do it because whenever I try I usually cannot find the dependencies
You must log in or register to comment.
This guide is pretty good.
https://www.baeldung.com/gradle-create-pluginIn the most basic form, sample Gradle plugin
Then see the baeldung article cargo shared
The key is to use the
kotlin-dsl
plugin in your project. That gives you all the setup you should need, except publishing. https://docs.gradle.org/current/userguide/kotlin_dsl.html#sec:kotlin-dsl_plugin