-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
69 lines (57 loc) · 1.86 KB
/
build.gradle
File metadata and controls
69 lines (57 loc) · 1.86 KB
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
plugins {
id('java')
id('maven-publish')
id('java-library')
}
group = "$basePackage"
version = "$version"
description = "The DraftTable Library"
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
compileOnly("org.projectlombok:lombok:$lombokVersion")
annotationProcessor("org.projectlombok:lombok:$lombokVersion")
implementation("ch.qos.logback:logback-classic:$logbackClassicVersion")
implementation("org.hamcrest:hamcrest:$hamcrestVersion")
implementation("org.apache.commons:commons-collections4:$apacheCommonsCollections4Version")
implementation("commons-io:commons-io:$apacheCommonsIO")
implementation("org.apache.commons:commons-math3:$apacheCommonsMath")
implementation("org.paumard:streams-utils:$streamsUtilsVersion")
implementation("com.opencsv:opencsv:$opencsvVersion")
implementation("tools.jackson.core:jackson-databind:$jacksonDatabindVersion")
implementation("org.jspecify:jspecify:$jspecifyVersion")
implementation("dev.failsafe:failsafe:$failsafeVersion")
testCompileOnly("org.projectlombok:lombok:$lombokVersion")
testAnnotationProcessor("org.projectlombok:lombok:$lombokVersion")
testImplementation(group: 'org.testng', name: 'testng', version: "$testngVersion")
}
test {
useTestNG() {
useDefaultListeners = true
outputDirectory = file("$buildRoot/test-output")
includeGroups 'component'
includeGroups 'unit'
}
}
tasks.withType(JavaExec).configureEach {
jvmArgs += '--add-opens=java.base/java.time=ALL-UNNAMED'
}
def generatedSrcRoot = "$buildRoot/generated_sources"
sourceSets {
main {
java {
srcDirs generatedSrcRoot
}
}
}
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
withSourcesJar()
}
jar {
enabled = true
}