Question

I want to use Gradle to create following things.

I want to create a plug-in which can

  1. Create a project structure
  2. project life cycle of my one like plugin 'java' has many java related lifecycle like i need my own lifecycle
  3. Internally jars or zips my project
  4. runs my project.

How to implement all these.. any example ?

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top