A tool to generate new android projects based on a powerful template.
With this tool you just have to create a project configuration file like the one below and run it. It will create a new android project based on configurations.
Just build and create configuration file.
The configuration file must be named what_you_want.json
.
// The json configuration
{
"language" : "java", // Mandatory
"gradlePluginVersion" : "2.3.0", // Mandatory
"projectType" : "mobile", // Mandatory
"projectName" : "Kickoff Sample", // Mandatory
"packageName" : "com.massivedisaster.kickoff.example", // Mandatory
"minimumSdkApi" : 16, // Mandatory
"targetSdkApi" : 25, // Mandatory
"buildTools" : "25.0.3", // Mandatory
"retrofit" : {
"timeout" : 30,
"prod" : "http://massivedisaster.com/api/prod",
"dev" : "http://massivedisaster.com/api/dev"
}
}
- Running the JAR:
$ java -jar kickoff.jar -g project_configuration.json
- Also you can use the scripts available for Linux, OSX & Windows:
$ kickoff -g project_configuration.json