Java : add a "library" file

已回答

I'm new to Java. I created a plugin with gradle.

I want to have a class with "utils" methods", in a directory "outside" the plugin sources.

How can I achieve that ? 

 

0

If I got you right, you may specify a dependency for your plugin in build.gradle file inside the "buildSrc" directory, like here

Anyway, it is better to ask Gradle-related questions on StackOverflow, or on Gradle's forum

0

请先登录再写评论。