Skip to content

Commit

Permalink
updated gradlew, and configured bootBuildImage in build.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
shadabshamsi committed Apr 13, 2024
1 parent 14da1d1 commit ca14a6d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,15 @@ tasks.named('test') {
useJUnitPlatform()
}

tasks.named("bootBuildImage") {
builder = "dashaun/builder:tiny"
}

bootBuildImage {
imageName = "${project.name}"
environment = ["BP_JVM_VERSION" : "17.*", "BP_NATIVE_IMAGE" : "false"]
environment = ["BP_JVM_VERSION" : "17.*", "BP_NATIVE_IMAGE" : "false" // native image not working well on mac
// , BP_LIVE_RELOAD_ENABLED : "true" // when enabled, native image won't be build
]

docker {
publishRegistry {
Expand Down
Empty file modified gradlew
100644 → 100755
Empty file.

0 comments on commit ca14a6d

Please sign in to comment.