No module for run configuration in gradle-based plugin

已回答

I have cloned gradle-based plugin repository and moved my plugin files into it (https://github.com/raydenvoldeskine/clear-dependencies-plugin-kt)

But when I try to create "Plugin" Run configuration for testing by launching Idea the "classpath of module" field is empty. I'd expect cloned project should not have this issue. 

0

Because you're not supposed to create any run configuration - all tasks are already provided by Gradle.

Have you checked the Gradle ToolWindow on the right side?

 

0

Thanks, by runIDE I can really run IDE and see my plugin in it. What shall I use for debugging?

0

The same task, but use Debug instead of Run.

0

THank you, that did work

0

请先登录再写评论。