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
JavaBot
JavaBot6d ago
This post has been reserved for your question.
Hey @asdru! Please use /close or the Close 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.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
dan1st
dan1st6d ago
Maybe create another project for testing it?
JavaBot
JavaBot6d ago
💤 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.
asdru
asdruOP5d ago
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
asdru
asdruOP5d ago
is the fact that it says that my plugin is never used of any relevance?
No description
asdru
asdruOP5d ago
i assume intelliJ would notice if its being used somewhere
dan1st
dan1st5d ago
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
asdru
asdruOP5d ago
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 class
dan1st
dan1st5d ago
I 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
asdru
asdruOP5d ago
ooh ok
JavaBot
JavaBot5d ago
💤 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.

Did you find this page helpful?