开发者

Creating a project builder and plugin in Gradle

开发者 https://www.devze.com 2023-01-27 08:57 出处:网络
I want to use Gradle to create following things. I want to create a plug-in which can Create a project structure

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 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消