SDKMAN! https://sdkman.io/
- 🧱 install Java 17, GraalVM 22
sdk list java
sdk install java $version
- ⚙️ configure
export GRAALVM_HOME=<graalvm_directory>
export PATH=${GRAALVM_HOME}/bin:$PATH
- record
- text block
- switch expression
- 🔨 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