forked from opensearch-project/OpenSearch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
93 lines (88 loc) · 3.47 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
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
/*
* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
*/
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you 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.
*/
apply plugin: 'opensearch.java'
group = 'hdfs'
versions << [
'jetty': '9.4.57.v20241219'
]
dependencies {
api("org.apache.hadoop:hadoop-minicluster:3.4.1") {
exclude module: 'websocket-client'
exclude module: 'jettison'
exclude module: 'netty'
exclude module: 'guava'
exclude module: 'protobuf-java'
exclude group: 'org.codehaus.jackson'
exclude group: "org.bouncycastle"
exclude group: "com.squareup.okhttp3"
exclude group: "org.xerial.snappy"
exclude module: "json-io"
exclude module: "logback-core"
exclude module: "logback-classic"
exclude module: "avro"
exclude group: 'org.apache.kerby'
exclude group: 'com.nimbusds'
exclude module: "commons-configuration2"
}
api "dnsjava:dnsjava:3.6.3"
api "org.codehaus.jettison:jettison:${versions.jettison}"
api "org.apache.commons:commons-compress:${versions.commonscompress}"
api "commons-codec:commons-codec:${versions.commonscodec}"
api "org.apache.logging.log4j:log4j-core:${versions.log4j}"
api "io.netty:netty-all:${versions.netty}"
api 'com.google.code.gson:gson:2.12.1'
api "com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:${versions.jackson}"
api "com.fasterxml.jackson.core:jackson-databind:${versions.jackson_databind}"
api "com.fasterxml.woodstox:woodstox-core:${versions.woodstox}"
api 'net.minidev:json-smart:2.5.1'
api "org.mockito:mockito-core:${versions.mockito}"
api "com.google.protobuf:protobuf-java:${versions.protobuf}"
api "org.jetbrains.kotlin:kotlin-stdlib:${versions.kotlin}"
api "org.eclipse.jetty:jetty-server:${versions.jetty}"
api "org.eclipse.jetty.websocket:javax-websocket-server-impl:${versions.jetty}"
api 'org.apache.zookeeper:zookeeper:3.9.3'
api "org.apache.commons:commons-text:1.13.0"
api "commons-net:commons-net:3.11.1"
api "ch.qos.logback:logback-core:1.5.16"
api "ch.qos.logback:logback-classic:1.5.16"
api "org.jboss.xnio:xnio-nio:3.8.16.Final"
api 'org.jline:jline:3.29.0'
api 'org.apache.commons:commons-configuration2:2.11.0'
api 'com.nimbusds:nimbus-jose-jwt:10.0.1'
api ('org.apache.kerby:kerb-admin:2.1.0') {
exclude group: "org.jboss.xnio"
exclude group: "org.jline"
}
runtimeOnly "com.google.guava:guava:${versions.guava}"
runtimeOnly("com.squareup.okhttp3:okhttp:4.12.0") {
exclude group: "com.squareup.okio"
}
runtimeOnly "com.squareup.okio:okio:3.10.2"
runtimeOnly "org.xerial.snappy:snappy-java:1.1.10.7"
}