Gradle

Gradle Archetypes

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

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

Hide
Rajmahendra Hegde added a comment -

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

People

Vote (10)
Watch (8)

Dates

  • Created:
    Updated: