fix local native build
@@ -31,3 +31,15 @@ tasks.named("dockerBuild") {
images = [project.hasProperty("dockerImageName") ? project.getProperty("dockerImageName") : "micronaut-starter"]
}
+graalvmNative {
+ toolchainDetection = false
+
+ binaries {
+ main {
+ // Main options
+ sharedLibrary = false
+ imageName = 'micronaut-starter'
+ mainClass = 'io.micronaut.starter.netty.Application'
+ }
+ }
+}
