yhornisse authored on 12 May 2020
gradle/ wrapper Add Sample. 4 years ago
src/main/kotlin/com/example/ sample Add Sample Spring Kotlin 4 years ago
README.md Fix build settings 4 years ago
build.gradle.kts Fix build settings 4 years ago
gradle.properties Add Sample Spring Kotlin 4 years ago
gradlew Add Sample Spring Kotlin 4 years ago
gradlew.bat Add Sample Spring Kotlin 4 years ago
settings.gradle.kts Fix build settings 4 years ago
README.md

Kotlin + Spring のサンプル

そのまま実行(UNIX系OSやMacの場合)

$ ./gradlew bootRun

Fat Jar作成(UNIX系OSやMacの場合)

$ ./gradlew bootJar

Fat Jarを実行

$ java -jar build/libs/SampleKotlin-1.0-SNAPSHOT.jar
http://localhost:8080/hello