-
Notifications
You must be signed in to change notification settings - Fork 17
/
build.gradle
46 lines (37 loc) · 882 Bytes
/
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
plugins {
id 'java-library'
id 'jacoco'
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
jar {
from {
configurations.runtimeClasspath.filter{ it.exists() }.collect{ it.isDirectory() ? it : zipTree(it) }
} {
exclude 'META-INF/LICENSE.txt', 'META-INF/NOTICE.txt'
}
}
test {
useJUnitPlatform()
testLogging {
exceptionFormat = 'full'
}
}
jacocoTestReport {
dependsOn test
reports {
xml.required = true
}
}
dependencies {
annotationProcessor project(':merlin-framework-processor')
implementation project(':merlin-framework')
implementation project(':contrib')
testImplementation project(':merlin-framework-junit')
testImplementation 'org.assertj:assertj-core:3.24.2'
testImplementation 'org.junit.jupiter:junit-jupiter-engine:5.10.0'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
}