13 lines
352 B
Bash
Executable File
13 lines
352 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# https://docs.gradle.org/current/userguide/build_init_plugin.html#sec:kotlin_application
|
|
# https://docs.gradle.org/current/samples/sample_building_kotlin_applications.html
|
|
|
|
if [[ $# < 2 ]]; then
|
|
echo "Use: $0 <project-name> <package>"
|
|
exit 1;
|
|
fi
|
|
|
|
gradle init --type kotlin-application --dsl kotlin --project-name "$1" --package "$2"
|
|
|