Init Kotlin application with Gradle

This commit is contained in:
Martin Blazik
2022-02-12 09:04:00 +01:00
parent d907a0023b
commit 8178511496

11
scripts/gradle-init-kotlin.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
# https://docs.gradle.org/current/userguide/build_init_plugin.html#sec:kotlin_application
if [[ $# < 2 ]]; then
echo "Use: $0 <project-name> <package>"
exit 1;
fi
gradle init --type kotlin-application --dsl kotlin --project-name "$1" --package "$2"