Skip to content

Commit

Permalink
Generate CDS archive and use it when running the application
Browse files Browse the repository at this point in the history
  • Loading branch information
candrews committed Nov 13, 2024
1 parent 3ed5708 commit cf72a7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ tasks.withType<AbstractArchiveTask>().configureEach {
tasks.bootBuildImage {
// See: https://paketo.io/docs/howto/java/

environment = mapOf("BP_JVM_VERSION" to "21")
environment = mapOf("BP_JVM_VERSION" to "21", "BP_JVM_CDS_ENABLED" to "true")

docker {
publishRegistry {
Expand Down

0 comments on commit cf72a7c

Please sign in to comment.