forked from snazy/nessie
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
122 lines (100 loc) · 4.4 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
/*
* Copyright (C) 2022 Dremio
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import org.apache.tools.ant.taskdefs.condition.Os
plugins {
`java-library`
jacoco
`maven-publish`
signing
`nessie-conventions`
alias(libs.plugins.annotations.stripper)
}
extra["maven.name"] = "Nessie - Services"
dependencies {
implementation(project(":nessie-model"))
implementation(project(":nessie-versioned-spi"))
implementation(libs.slf4j.api)
implementation(platform(libs.cel.bom))
implementation(libs.cel.tools)
implementation(libs.cel.jackson)
compileOnly(libs.immutables.builder)
compileOnly(libs.immutables.value.annotations)
annotationProcessor(libs.immutables.value.processor)
implementation(libs.guava)
// javax/jakarta
compileOnly(libs.jakarta.validation.api)
compileOnly(libs.javax.validation.api)
compileOnly(libs.jakarta.annotation.api)
compileOnly(libs.findbugs.jsr305)
compileOnly(platform(libs.jackson.bom))
compileOnly(libs.jackson.annotations)
compileOnly(libs.microprofile.openapi)
testFixturesImplementation(libs.guava)
testFixturesApi(project(":nessie-model"))
testFixturesApi(project(":nessie-versioned-spi"))
testFixturesApi(project(":nessie-versioned-persist-adapter"))
testFixturesApi(project(":nessie-versioned-persist-store"))
testFixturesApi(project(":nessie-versioned-persist-testextension"))
testFixturesApi(platform(libs.junit.bom))
testFixturesApi(libs.bundles.junit.testing)
testFixturesCompileOnly(libs.jakarta.annotation.api)
testFixturesCompileOnly(libs.findbugs.jsr305)
testRuntimeOnly(project(":nessie-server-store"))
testImplementation(project(":nessie-versioned-persist-serialize"))
testImplementation(project(":nessie-versioned-persist-in-memory"))
testImplementation(project(":nessie-versioned-persist-in-memory-test"))
intTestImplementation(project(":nessie-versioned-persist-rocks"))
intTestImplementation(project(":nessie-versioned-persist-rocks-test"))
intTestImplementation(project(":nessie-versioned-persist-dynamodb"))
intTestImplementation(project(":nessie-versioned-persist-dynamodb-test"))
intTestImplementation(project(":nessie-versioned-persist-mongodb"))
intTestImplementation(project(":nessie-versioned-persist-mongodb-test"))
testImplementation(project(":nessie-versioned-persist-transactional"))
testImplementation(project(":nessie-versioned-persist-transactional-test"))
testFixturesApi(project(":nessie-versioned-storage-common"))
testFixturesApi(project(":nessie-versioned-storage-store"))
testFixturesApi(project(":nessie-versioned-storage-testextension"))
testFixturesApi(project(":nessie-versioned-storage-inmemory"))
testFixturesApi(project(":nessie-versioned-storage-jdbc"))
intTestImplementation(project(":nessie-versioned-storage-cassandra"))
intTestImplementation(project(":nessie-versioned-storage-rocksdb"))
intTestImplementation(project(":nessie-versioned-storage-mongodb"))
intTestImplementation(project(":nessie-versioned-storage-dynamodb"))
intTestRuntimeOnly(libs.testcontainers.testcontainers)
intTestRuntimeOnly(libs.testcontainers.cassandra)
intTestRuntimeOnly(libs.testcontainers.mongodb)
intTestRuntimeOnly(libs.docker.java.api)
testRuntimeOnly(libs.agroal.pool)
testRuntimeOnly(libs.h2)
// javax/jakarta
testCompileOnly(libs.jakarta.annotation.api)
testFixturesCompileOnly(libs.microprofile.openapi)
testCompileOnly(libs.microprofile.openapi)
testFixturesCompileOnly(platform(libs.jackson.bom))
testFixturesCompileOnly(libs.jackson.annotations)
testCompileOnly(platform(libs.jackson.bom))
testCompileOnly(libs.jackson.annotations)
}
// Issue w/ testcontainers/podman in GH workflows :(
if (Os.isFamily(Os.FAMILY_MAC) && System.getenv("CI") != null) {
tasks.withType<Test>().configureEach { this.enabled = false }
}
annotationStripper {
registerDefault().configure {
annotationsToDrop("^jakarta[.].+".toRegex())
unmodifiedClassesForJavaVersion.set(11)
}
}