Mark Nellemann
6ce44c6c1a
All checks were successful
continuous-integration/drone/push Build is passing
50 lines
1.3 KiB
Groovy
50 lines
1.3 KiB
Groovy
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.6', into: 'htmx') { include 'htmx.js', 'ext/preload.js' }
|
|
}
|
|
} |