-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
Copy pathbuild.gradle
66 lines (56 loc) · 2.05 KB
/
build.gradle
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
plugins {
id "io.micronaut.build.internal.convention-library"
}
micronautBuild {
core {
usesMicronautTest()
}
}
dependencies {
api project(":inject")
api project(':aop')
if (!JavaVersion.current().isJava9Compatible()) {
compileOnly files(org.gradle.internal.jvm.Jvm.current().toolsJar)
}
compileOnly libs.managed.validation
testImplementation project(":context")
testImplementation project(':aop')
testAnnotationProcessor project(":inject-java")
testImplementation project(":inject-java-test")
testImplementation project(":inject-test-utils")
testImplementation project(":runtime")
testImplementation libs.managed.reactor
testImplementation libs.managed.spotbugs
testImplementation libs.hibernate
testImplementation libs.compile.testing
testImplementation(libs.managed.neo4j.bolt) {
version {
require "1.4.5"
}
}
testImplementation libs.managed.groovy.json
if (!JavaVersion.current().isJava9Compatible()) {
testImplementation files(org.gradle.internal.jvm.Jvm.current().toolsJar)
}
testImplementation libs.managed.micrometer.core
testImplementation project(":validation")
testImplementation libs.junit.jupiter.api
testImplementation(platform(libs.boms.micronaut.tracing))
testImplementation(libs.micronaut.tracing.zipkin) {
exclude module: 'micronaut-bom'
exclude module: 'micronaut-http-client'
exclude module: 'micronaut-inject'
exclude module: 'micronaut-runtime'
}
testRuntimeOnly libs.javax.el.impl
testRuntimeOnly libs.javax.el
}
//compileTestJava.options.fork = true
//compileTestJava.options.forkOptions.jvmArgs = ['-Xdebug', '-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005']
tasks.withType(Test).configureEach {
forkEvery = 100
maxParallelForks = 2
useJUnitPlatform()
}
//compileTestGroovy.groovyOptions.forkOptions.jvmArgs = ['-Xdebug', '-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005']
//compileTestGroovy.groovyOptions.fork = true