Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Provide archetype functionality (a la maven) #3840
Provide an archetype-like functionnality similar to that of maven.
The projects generated from an archetype can be a single module or multi-module project.
The archetype needs to support some templating technology to allow easy content generation.
Some JIRAs already exist for this need, but those are closed and afaik as of now, gradle doesn't support yet a maven like archetype functionnality.
@gonzalad SBT (the default build tool for Scala) https://www.scala-sbt.org/1.x/docs/sbt-new-and-Templates.html is using simple GitHub repos as templates. It's very flexible, but still does not exclude to use the "official" templates to ensure quality.
Other tools even have interactive input: http://yeoman.io/codelab/scaffold-app.html so that the user can override the default parameters of a template to get a more suitable and helpful initial project :) .
There is a plugin for this one: https://plugins.gradle.org/plugin/com.orctom.archetype