Gradle

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
To raise new issues or bugs against Gradle, please use forums.gradle.org.
  • Gradle
  • GRADLE-1387

Gradle Archetypes

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Resolved Resolved
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.7-rc-1

Description

It'd be nice to have some way to publish and use something similar to maven archetypes. Perhaps something like this:

gradle create http://www.example.com/some-archetype

with perhaps some built in archetypes:

gradle createWarProject Foo
gradle createEarProject Bar

Just some ideas. I know this would save me a lot of typing/manually creating stuff (for now I have empty projects that I checkout from git and rename).

Thanks,
James

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • History
  • Activity
  • TeamCity
  • Commits
  • Source
  • Reviews
Contegix Support made changes - 19/Mar/11 9:23 AM
Field Original Value New Value
Project Import Sat Mar 19 09:23:24 CDT 2011 [ 1300544604020 ]
Hide
Permalink
Rajmahendra Hegde added a comment - 01/Jun/11 12:01 PM

My Suggestion is

We can add this inside Gradle plugin like Java, Web etc. and when user types

gradle createWarProject Foo
gradle createEarProject Bar

It automatically creates. So any plugin you add to gradle will internally have all the setup.

Show
Rajmahendra Hegde added a comment - 01/Jun/11 12:01 PM My Suggestion is We can add this inside Gradle plugin like Java, Web etc. and when user types gradle createWarProject Foo gradle createEarProject Bar It automatically creates. So any plugin you add to gradle will internally have all the setup.
Daz DeBoer made changes - 03/Aug/11 3:29 PM
Workflow jira [ 12396 ] jira with pivotal tracker [ 14320 ]
Hide
Permalink
Kelly Robinson added a comment - 04/Oct/12 2:42 PM

This project provides a script you can 'apply' to your build script which provides functionality for creating a variety of new projects easily: https://launchpad.net/gradle-templates

Show
Kelly Robinson added a comment - 04/Oct/12 2:42 PM This project provides a script you can 'apply' to your build script which provides functionality for creating a variety of new projects easily: https://launchpad.net/gradle-templates
Luke Daley made changes - 03/Jan/13 5:09 AM
Workflow jira with pivotal tracker [ 14320 ] jira with pivotal tracker (no resolved, only closed) [ 16876 ]
Luke Daley made changes - 04/Jan/13 5:09 AM
Workflow jira with pivotal tracker (no resolved, only closed) [ 16876 ] Copy of jira with pivotal tracker (no closed, only resolved) [ 19643 ]
Hide
Permalink
Adam Murdoch added a comment - 01/May/13 6:31 PM

Gradle 1.6 and 1.7 add some support for setting up a new Gradle build using the `build-setup` plugin.

This initial support is very basic and we want to grow it in future releases, but I've marked this issue as 'fixed'. If you find problems or have suggestions for improvements to this build initialization support, please feel free to raise new issues via the forums.

You can find out more about our plans in this design spec: https://github.com/gradle/gradle/blob/master/design-docs/build-initialisation.md

Show
Adam Murdoch added a comment - 01/May/13 6:31 PM Gradle 1.6 and 1.7 add some support for setting up a new Gradle build using the `build-setup` plugin. This initial support is very basic and we want to grow it in future releases, but I've marked this issue as 'fixed'. If you find problems or have suggestions for improvements to this build initialization support, please feel free to raise new issues via the forums. You can find out more about our plans in this design spec: https://github.com/gradle/gradle/blob/master/design-docs/build-initialisation.md
Adam Murdoch made changes - 01/May/13 6:31 PM
Resolution Fixed [ 1 ]
Fix Version/s 1.7-rc-1 [ 10675 ]
Status Open [ 1 ] Resolved [ 5 ]
Unable to get TeamCity builds: No active plugin license is found! Please visit http://stiltsoft.com/teamcity for details

People

  • Assignee:
    Unassigned
    Reporter:
    James R. Carr
Vote (17)
Watch (14)

Dates

  • Created:
    13/Feb/11 6:39 PM
    Updated:
    01/May/13 6:31 PM
    Resolved:
    01/May/13 6:31 PM
  • Atlassian JIRA (v5.0.3#729-sha1:bf569e4)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Gradle. Try JIRA - bug tracking software for your team.