-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
76 lines (57 loc) · 1.69 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
plugins {
alias(libs.plugins.kotlin.jvm)
alias(libs.plugins.kotlin.all.open)
alias(libs.plugins.ksp)
alias(libs.plugins.johnrengelman.shadow)
alias(libs.plugins.micronaut.application)
alias(libs.plugins.kotlinter)
}
version = "0.1"
group = "com.qualitive"
repositories {
mavenCentral()
}
dependencies {
ksp(libs.micronaut.http.validation)
compileOnly(libs.micronaut.http.client)
implementation(libs.micronaut.jackson.databind)
implementation(libs.micronaut.kotlin.runtime)
implementation(libs.micronaut.aws.secretsmanager)
implementation(libs.kotlin.reflect)
implementation(libs.kotlin.stdlib)
runtimeOnly(libs.jackson.kotlin)
runtimeOnly(libs.logback)
implementation(libs.logstash.logbackEncoder)
implementation(libs.kotlinLogging)
implementation(libs.bouncycastle.bcprov)
implementation(libs.bouncycastle.bcpkix)
implementation(libs.scribejava.core)
implementation(libs.scribejava.apis)
implementation(libs.auth0.jwt)
testImplementation(libs.micronaut.http.client)
}
application {
mainClass = "com.qualitive.heimdall.ApplicationKt"
}
java {
sourceCompatibility = JavaVersion.toVersion("21")
}
graalvmNative.toolchainDetection = false
micronaut {
runtime("netty")
testRuntime("kotest5")
processing {
incremental(true)
annotations("com.qualitive.*")
}
}
tasks.test {
useJUnitPlatform()
ignoreFailures = false
// Never use existing jks
doFirst { delete("${project.projectDir}/heimdall.jks")}
doLast { delete("${project.projectDir}/heimdall.jks") }
}
tasks.named<io.micronaut.gradle.docker.NativeImageDockerfile>("dockerfileNative") {
jdkVersion = "21"
}