run gradle custom plugin
i downloaded the template plugin from here and built the project
the test class says the greet plugin is there, however i cant seem to find a way to actually run it. Any ideas?
12 Replies
⌛
This post has been reserved for your question.
Hey @asdru! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./close
or theClose Post
button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically marked as dormant after 300 minutes of inactivity.
Maybe create another project for testing it?
💤
Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping
.
Warning: abusing this will result in moderative actions taken against you.
Sorry it took so long to get back at you
i just did, i can see my custom plugin actions but like when working in the "source" plugin, i dont see any way to run the action
is the fact that it says that my plugin is never used of any relevance?

i assume intelliJ would notice if its being used somewhere
that means that IntelliJ doesn't know any place where it is used but that doesn't mean it's actually unused
if it's registered for Gradle, it's probably fine
https://docs.gradle.org/current/userguide/custom_plugins.html
here it says i need to use
apply<GreetingPlugin>()
somewhere, but its not in the plugin classI think that's if you define a plugin within the build.gradle.kts or something like that
but I'm not into Gradle that much tbh
ooh ok
💤
Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping
.
Warning: abusing this will result in moderative actions taken against you.