forked from micronaut-projects/micronaut-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
86 lines (71 loc) · 2.66 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
75
76
77
78
79
80
81
82
83
84
85
86
plugins {
id("io.micronaut.build.internal.convention-library")
alias(libs.plugins.managed.kotlin.jvm)
alias(libs.plugins.managed.kotlin.kapt)
}
dependencies {
annotationProcessor(projects.micronautInjectJava)
annotationProcessor(projects.micronautGraal)
api(projects.micronautContext)
api(projects.micronautInject)
api(projects.micronautAop)
compileOnly(projects.micronautCoreReactive)
compileOnly(libs.managed.reactor)
compileOnly(platform(libs.test.boms.micronaut.reactor))
compileOnly("io.micrometer:context-propagation")
compileOnly(platform(libs.test.boms.micronaut.rxjava2))
compileOnly(platform(libs.test.boms.micronaut.rxjava3))
compileOnly(platform(libs.test.boms.micronaut.reactor))
compileOnly("io.micronaut.rxjava2:micronaut-rxjava2-http-client") {
exclude(group = "io.micronaut")
}
compileOnly("io.micronaut.rxjava3:micronaut-rxjava3-http-client") {
exclude(group = "io.micronaut")
}
testAnnotationProcessor(projects.micronautInjectJava)
testImplementation("io.micrometer:context-propagation")
testImplementation(platform(libs.test.boms.micronaut.rxjava2))
testImplementation(platform(libs.test.boms.micronaut.rxjava3))
testImplementation(platform(libs.test.boms.micronaut.reactor))
testImplementation(projects.micronautInjectGroovy)
testImplementation(projects.micronautRuntime)
testImplementation(projects.micronautJacksonDatabind)
testImplementation(projects.micronautCoreReactive)
testImplementation(projects.micronautInjectJavaTest)
testImplementation(projects.micronautHttpClient)
testImplementation(projects.micronautHttpServerNetty)
testImplementation(libs.managed.snakeyaml)
testImplementation("io.micronaut.rxjava2:micronaut-rxjava2-http-client") {
exclude(group = "io.micronaut")
}
testImplementation("io.micronaut.rxjava3:micronaut-rxjava3-http-client") {
exclude(group = "io.micronaut")
}
testImplementation("io.micronaut.reactor:micronaut-reactor-http-client") {
exclude(group = "io.micronaut")
}
}
// Kotlin
dependencies {
kapt(projects.micronautInjectJava)
kaptTest(projects.micronautInjectJava)
compileOnly(libs.managed.kotlin.stdlib.jdk8)
compileOnly(libs.managed.kotlinx.coroutines.core)
testImplementation(libs.managed.kotlin.stdlib.jdk8)
testImplementation(libs.managed.kotlinx.coroutines.core)
testImplementation(libs.managed.kotlinx.coroutines.reactor)
}
tasks {
compileKotlin {
kotlinOptions {
jvmTarget = "17"
}
}
}
tasks {
compileTestKotlin {
kotlinOptions {
jvmTarget = "17"
}
}
}