-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
55 lines (41 loc) · 1.26 KB
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
plugins {
alias(libs.plugins.kotlin.jvm)
alias(libs.plugins.kotlin.allopen)
alias(libs.plugins.kotlin.jpa)
alias(libs.plugins.kotlin.kapt)
alias(libs.plugins.micronaut.application)
alias(libs.plugins.micronaut.aot)
alias(libs.plugins.shadow)
}
version = "0.1"
group = "com.vendavo.micronaut"
repositories {
mavenCentral()
}
dependencies {
kaptTest("io.micronaut:micronaut-inject-java")
implementation("io.micronaut.kotlin:micronaut-kotlin-runtime")
implementation("io.micronaut.serde:micronaut-serde-jackson")
implementation("io.micronaut.data:micronaut-data-hibernate-jpa")
implementation("io.micronaut.sql:micronaut-jdbc-hikari")
implementation(libs.kotlin.stdlib)
compileOnly("io.micronaut:micronaut-http-client")
runtimeOnly("ch.qos.logback:logback-classic")
testImplementation("io.micronaut:micronaut-http-client")
testRuntimeOnly("com.h2database:h2")
}
application {
mainClass.set("com.vendavo.micronaut.ApplicationKt")
}
java {
sourceCompatibility = JavaVersion.toVersion("17")
}
micronaut {
version(libs.versions.micronaut.asProvider().get())
runtime("netty")
testRuntime("kotest")
processing {
incremental(true)
annotations("com.vendavo.micronaut.*")
}
}