On 4/02/10 6:55 AM, Helmut Denk wrote:
hi gradle-community,

i just downloaded and tried the latest snapshot
gradle-0.9-20100203071151+1100.

i noticed that gradle does not find my 'home-grown' plugins by id any more
but only
by type.

I just changed the format for the properties file. You need a file for each plugin called META-INF/gradle-plugins/${id}.properties. Some more details at:

http://docs.codehaus.org/display/GRADLE/Gradle+0.9+Breaking+Changes#Gradle0.9BreakingChanges-PluginAuthoring

At some point soon I want to add a plugin development plugin, which will do things such as generating these meta-info files, and will shield you from changes. We also really need some way for the plugin to declare which version(s) of Gradle it will work with.

(i build my plugins as jar and place them into $GRADLE_HOME/lib/plugins.)

You don't necessarily need to do this. You can declare the dependency in the build script, and they'll be included without needing to add anything to $GRADLE_HOME.


--
Adam Murdoch
Gradle Developer
http://www.gradle.org


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to