Skip to content

Spring Boot 3, Spring Framework 6, Java 17, Kotlin 1.7, GraalVM 22 🧧

Notifications You must be signed in to change notification settings

PureFuncInc/spring-boot-3-practice

Repository files navigation

spring-boot-3-practice 🦄

  • 🧱 install Java 17, GraalVM 22
sdk list java
sdk install java $version

  • ⚙️ configure
export GRAALVM_HOME=<graalvm_directory>
export PATH=${GRAALVM_HOME}/bin:$PATH

New Project 🎉

Demo Java New Features ✨

Build & Run 🚀

  • 🔨 build jar
./gradlew build
jar -jar libs/spring-boot-3-practice-0.0.1-SNAPSHOT.jar
  • 🔮 build native
./gradlew nativeCompile
./spring-boot-3-practice

  • 🪞 build OCI image
./gradlew bootBuildImage
docker run -d -p 8080:8080 spring-boot-3-practice:0.0.1-SNAPSHOT

About

Spring Boot 3, Spring Framework 6, Java 17, Kotlin 1.7, GraalVM 22 🧧

Resources

Stars

Watchers

Forks