-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
34 lines (29 loc) · 983 Bytes
/
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
plugins {
// Micronaut Gradle plugin releases: https://github.com/micronaut-projects/micronaut-gradle-plugin/releases
id("io.micronaut.application") version "4.2.1"
}
repositories {
mavenCentral()
}
micronaut {
version("4.2.1") // Micronaut releases: https://github.com/micronaut-projects/micronaut-core/releases
testRuntime("junit5")
processing {
incremental(true)
annotations("dgroomes.sql.*")
}
}
dependencies {
// Micronaut core stuff
implementation("io.micronaut:micronaut-runtime")
runtimeOnly("ch.qos.logback:logback-classic")
runtimeOnly("org.yaml:snakeyaml")
// Micronaut Data and Micronaut JDBC stuff
annotationProcessor("io.micronaut.data:micronaut-data-processor")
implementation("io.micronaut.data:micronaut-data-jdbc")
runtimeOnly("io.micronaut.sql:micronaut-jdbc-hikari")
implementation("org.postgresql:postgresql")
}
application {
mainClass.set("dgroomes.sql.SqlApplication")
}