Creating a project builder and plugin in Gradle
I want to use Gradle to create following things.
I want to create a plug-in which can
- Create a project structure
- project life cycle of my one like plugin 'java' has many java related lifecycle like i need my own lifecycle
- Internally jars or zips my project
- runs my proj开发者_开发百科ect.
How to implement all these.. any example ?
most of what you are asking for is information provided in the cookbook: http://docs.codehaus.org/display/GRADLE/Cookbook
to create a project structure read: mrhaki.blogspot.com/2009/11/using-gradle-for-mixed-java-and-groovy.html and look for the initProject task.
精彩评论