-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
66 lines (52 loc) · 1.83 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 'application'
id 'com.github.johnrengelman.shadow' version '8.1.1'
}
repositories {
mavenCentral()
}
ext {
javaVersion = 22
lombokVersion = '1.18.34'
mapStructVersion = '1.6.0.Beta1'
}
dependencies {
implementation platform('com.fasterxml.jackson:jackson-bom:2.17.2')
implementation 'com.fasterxml.jackson.core:jackson-databind'
implementation platform('org.jboss.weld:weld-core-bom:6.0.0.Beta4')
implementation 'org.jboss.weld.se:weld-se-core'
implementation 'com.github.wendykierp:JTransforms:3.1'
implementation 'org.jfree:jfreechart:1.0.19'
compileOnly "org.projectlombok:lombok:${lombokVersion}"
annotationProcessor "org.projectlombok:lombok:${lombokVersion}"
compileOnly "org.mapstruct:mapstruct:${mapStructVersion}"
annotationProcessor 'org.projectlombok:lombok-mapstruct-binding:0.2.0'
annotationProcessor "org.mapstruct:mapstruct-processor:${mapStructVersion}"
testImplementation platform('org.junit:junit-bom:5.11.3')
testImplementation 'org.junit.jupiter:junit-jupiter'
testRuntimeOnly "org.junit.platform:junit-platform-launcher"
testImplementation platform('org.assertj:assertj-bom:3.26.3')
testImplementation 'org.assertj:assertj-core'
testCompileOnly "org.projectlombok:lombok:${lombokVersion}"
testAnnotationProcessor "org.projectlombok:lombok:${lombokVersion}"
}
application {
applicationDefaultJvmArgs = ['-XX:+UseZGC', '-XX:+ZGenerational', '-Xmx4G', '-XX:MaxDirectMemorySize=1G']
mainClass = 'org.jboss.weld.environment.se.StartMain'
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(javaVersion)
}
}
sourceSets {
main {
java {
// put resources in classes output
output.resourcesDir = 'build/classes/java/main'
}
}
}
test {
useJUnitPlatform()
}