How to generate "" for plugin? For example

Hi there,

Just found out inside any gradle plugin jar , there is * file, what is this file used for , and how to generate it?

Inside, the content is:

#module definition
#Tue Sep 24 09:37:21 CEST 2013

Thanks in advance Yong

It’s part of Gradle’s internal class loading mechanism. Third-party plugin don’t need such a file.

I got one reason to curious about this. I wrote one plugin that have over dozen of dependencies, but I don’t want to re-config those same dependencies in my project( the consumer of the plugin), any way you could advice to eliminate these extra dependencies injection?

If you publish the plugin to a Maven or Ivy repository, transitive dependency resolution will take care of the rest.