Making plugins for gradle

3 years ago by Spy to c/kotlin

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

cargo 4 points 3 years ago path: 0 295957, hotness: undefined, score: 4, children: 0
RandomDevOpsDude 2 points 3 years ago path: 0 305861, hotness: undefined, score: 2, children: 0
RightAmygdala 1 point 3 years ago path: 0 373150, hotness: undefined, score: 1, children: 0
yaaaaayPancakes 1 point 3 years ago

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.

path: 0 675812, hotness: undefined, score: 1, children: 0
wakingrufus 1 point 3 years ago

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/...

path: 0 1179353, hotness: undefined, score: 1, children: 0
kotlin
kotlin

@programming.dev

login for more options
808
109
11

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:

go to feed...