Gradle Bootstrap is a simple Kotlin webapp that lets you create Gradle project skeletons in 30 seconds. Choose from several languages, license, testing, and logging frameworks, and Git integration.
:api
- Underlying API the website uses to create the Gradle projects. Nothing network-y, just plain code.
:website
- Website managed by Grunt: HTML, CSS, JavaScript, the works. Uses the :service
API.
:service
- Dropwizard app that uses the previous two modules to create a fully functioning service.
gradle :website:build
builds the website. Set JS_DEBUG=true
in the shell to disable minifying JavaScript for debugging purposes. On Linux: JS_DEBUG=true gradle website:build
gradle :service:stage
packages the entire project into a runnable Jar at service/build/libs/service-<version>-fat.jar
gradlew :service:run
builds and runs the website. See http://localhost:2001
once it's up and running.
All API methods produce JSON unless otherwise specified.
Consumes: application/x-www-form-urlencoded
Form Parameters:
name
: Project name (ex: "JRAW")group
: Group/package: (ex: "net.dean.jraw")language
: A comma-separated list of languagesversion
(Optional)testing
: (Optional)logging
: (Optional)license
: (Optional)git_init
: (Optional) If true, will initialize a .git directory in the base of the projectgit_url
: (Optional) If true, will initialize a .git directory and setorigin
to the given URL. Impliesgit_init=true
.
For acceptable values for logging
, testing
, language
, and license
, see /api/v1/project/options
Gets list of available options for logging
, testing
, language
, and license
in /api/v1/project
. Also shows the default value for each.
Retrieves information about a project with a given ID
Produces: application/zip
Downloads a project