plugins { id("com.github.johnrengelman.shadow") version "7.1.2" id("io.micronaut.application") version "3.7.3" id("com.magnetichq.client-dependencies") version "2.0.0" } version = "0.1" group = "hello" repositories { mavenCentral() } dependencies { annotationProcessor("io.micronaut:micronaut-http-validation") implementation("io.micronaut:micronaut-http-client") implementation("io.micronaut:micronaut-jackson-databind") implementation("jakarta.annotation:jakarta.annotation-api") runtimeOnly("ch.qos.logback:logback-classic") implementation("io.micronaut:micronaut-validation") implementation("io.micronaut.views:micronaut-views-thymeleaf") } application { mainClass.set("hello.Application") } java { sourceCompatibility = JavaVersion.toVersion("11") targetCompatibility = JavaVersion.toVersion("11") } graalvmNative.toolchainDetection = false micronaut { runtime("netty") testRuntime("junit5") processing { incremental(true) annotations("hello.*") } } clientDependencies { installDir = 'src/main/resources/assets/vendor' npm { 'bulma'('0.9.4', into: 'bulma') { include 'css/bulma.*' } 'htmx.org'('1.8.5', into: 'htmx') { include 'htmx.js', 'ext/preload.js' } } }