-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
Copy pathbuild.gradle.kts
44 lines (38 loc) · 1.36 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
plugins {
id("io.micronaut.build.internal.convention-library")
alias(libs.plugins.managed.kotlin.jvm)
}
dependencies {
annotationProcessor(projects.micronautInjectJava)
annotationProcessor(projects.micronautGraal)
api(projects.micronautContext)
api(projects.micronautCoreReactive)
api(projects.micronautContextPropagation)
implementation(libs.managed.reactor)
compileOnly(libs.managed.kotlinx.coroutines.core)
compileOnly(libs.managed.kotlinx.coroutines.reactor)
compileOnly(libs.managed.jackson.annotations)
testCompileOnly(projects.micronautInjectGroovy)
testAnnotationProcessor(projects.micronautInjectJava)
testImplementation(projects.micronautJacksonDatabind)
testImplementation(projects.micronautInject)
testImplementation(projects.micronautRuntime)
testImplementation(libs.logback.classic)
testImplementation(libs.jazzer.junit)
testImplementation(libs.junit.jupiter.params)
testImplementation(libs.micronaut.test.junit5) {
exclude(group= "io.micronaut")
}
}
tasks {
compileKotlin {
kotlinOptions.jvmTarget = "17"
}
}
//compileJava.options.fork = true
//compileJava.options.forkOptions.jvmArgs = ['-Xdebug', '-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005']
spotless {
java {
targetExclude("**/io/micronaut/http/uri/QueryStringDecoder.java")
}
}