This guide is pretty good.
https://www.baeldung.com/gradle-create-plugin
this post was submitted on 16 Jun 2023
10 points (100.0% liked)
Kotlin
618 readers
2 users here now
Kotlin is a statically typed programming language for the JVM, Android, JavaScript, and native.
Subreddit rules:
- Be civil
- No spam
- Stay on-topic
- No fluff
Resources:
founded 1 year ago
MODERATORS
Make sure that you join the Gradle community slack - https://gradle-community.slack.com/
There's a channel there for plugin development. I got some good help there when I was first diving into plugin development.
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