GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — starrocks/fe/build.gradle.kts at main · APIJSON/starrocks

Expand file tree

/

build.gradle.kts

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
314 lines (303 loc) · 19.8 KB
/

build.gradle.kts

Copy path

File metadata and controls

314 lines (303 loc) · 19.8 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
// Copyright 2021-present StarRocks, Inc. All rights reserved.
//
// 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
//
// https://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.
plugins {
java
`maven-publish`
}
allprojects {
group = "com.starrocks"
version = "main"
repositories {
mavenCentral()
maven { url = uri("https://repository.cloudera.com/repository/public/") }
maven { url = uri("https://repository.cloudera.com/repository/cloudera-repos/") }
maven { url = uri("https://mirror.iscas.ac.cn/kunpeng/maven/") }
}
}
subprojects {
apply {
plugin("java")
plugin("maven-publish")
}
// Common properties from pom.xml
ext {
set("starrocks.home", "${rootDir}/../")
// var sync start
set("antlr.version", "4.9.3")
set("arrow.version", "18.0.0")
set("async-profiler.version", "4.0")
set("avro.version", "1.12.0")
set("aws-v2-sdk.version", "2.42.1")
set("azure.version", "1.2.34")
set("bouncycastle.version", "1.84")
set("byteman.version", "4.0.24")
set("commons-beanutils.version", "1.11.0")
set("delta-kernel.version", "4.3.0")
set("dlf-metastore-client.version", "0.2.14")
set("dnsjava.version", "3.6.3")
set("fastutil.version", "8.5.15")
set("gcs.connector.version", "hadoop3-2.2.26")
set("grpc.version", "1.63.0")
set("hadoop.version", "3.4.3")
set("hbase.version", "2.6.2")
set("hikaricp.version", "7.0.2")
set("hive-apache.version", "3.1.2-22")
set("hudi.version", "1.0.2")
set("iceberg.version", "1.10.0")
set("io.netty.version", "4.1.136.Final")
set("jackson.version", "2.21.4")
set("jackson-annotations.version", "2.21")
set("jetty.version", "9.4.57.v20241219")
set("jprotobuf-starrocks.version", "1.0.0")
set("junit.version", "5.8.2")
set("kafka-clients.version", "3.9.1")
set("kudu.version", "1.17.1")
set("log4j.version", "2.19.0")
set("nimbusds.version", "9.37.2")
set("odps.version", "0.48.7-public")
set("paimon.version", "1.3.1")
set("parquet.version", "1.16.0")
set("orc.version", "1.9.1")
set("protobuf-java.version", "3.25.5")
set("puppycrawl.version", "10.21.1")
set("spark.version", "3.5.7")
set("staros.version", "4.2-rc2")
set("thrift.version", "0.23.0")
set("tomcat.version", "8.5.70")
set("lz4-java.version", "1.10.1")
// var sync end
}
dependencies {
implementation(platform("com.azure:azure-sdk-bom:${project.ext["azure.version"]}"))
implementation(platform("io.opentelemetry:opentelemetry-bom:1.14.0"))
implementation(platform("software.amazon.awssdk:bom:${project.ext["aws-v2-sdk.version"]}"))
implementation(platform("io.netty:netty-bom:${project.ext["io.netty.version"]}"))
// Enforce the same JUnit 5 versions as Maven (via `junit.version`) across all FE subprojects.
testImplementation(enforcedPlatform("org.junit:junit-bom:${project.ext["junit.version"]}"))
constraints {
// dependency sync start
implementation("com.aliyun.datalake:metastore-client-hive3:${project.ext["dlf-metastore-client.version"]}")
implementation("com.aliyun.odps:odps-sdk-core:${project.ext["odps.version"]}")
implementation("com.aliyun.odps:odps-sdk-table-api:${project.ext["odps.version"]}")
implementation("com.aliyun:datalake20200710:2.0.12")
implementation("com.baidu:jprotobuf-precompile-plugin:2.2.12")
implementation("com.baidu:jprotobuf-rpc-common:1.9")
implementation("com.baidu:jprotobuf-rpc-core:4.2.1")
implementation("com.clickhouse:clickhouse-jdbc:0.4.6")
implementation("com.esotericsoftware:kryo-shaded:4.0.2")
implementation("com.fasterxml.jackson.core:jackson-annotations:${project.ext["jackson-annotations.version"]}")
implementation("com.fasterxml.jackson.core:jackson-core:${project.ext["jackson.version"]}")
implementation("com.fasterxml.jackson.core:jackson-databind:${project.ext["jackson.version"]}")
implementation("com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:${project.ext["jackson.version"]}")
implementation("com.fasterxml.jackson.module:jackson-module-jaxb-annotations:${project.ext["jackson.version"]}")
implementation("com.fasterxml.uuid:java-uuid-generator:5.1.0")
implementation("com.github.ben-manes.caffeine:caffeine:2.9.3")
implementation("com.github.hazendaz.jmockit:jmockit:1.49.4")
implementation("com.github.oshi:oshi-core:6.2.1")
implementation("com.github.seancfoley:ipaddress:5.4.2")
implementation("com.google.cloud.bigdataoss:gcs-connector:${project.ext["gcs.connector.version"]}")
implementation("com.google.code.gson:gson:2.8.9")
implementation("com.google.guava:guava:32.0.1-jre")
implementation("com.google.protobuf:protobuf-java:${project.ext["protobuf-java.version"]}")
implementation("com.google.protobuf:protobuf-java-util:${project.ext["protobuf-java.version"]}")
implementation("com.microsoft.sqlserver:mssql-jdbc:12.4.2.jre11")
implementation("com.mockrunner:mockrunner-jdbc:1.0.1")
implementation("com.nimbusds:nimbus-jose-jwt:${project.ext["nimbusds.version"]}")
implementation("com.opencsv:opencsv:5.7.1")
implementation("com.oracle.database.jdbc:ojdbc10:19.18.0.0")
implementation("com.oracle.database.nls:orai18n:19.18.0.0")
implementation("com.qcloud.cos:hadoop-cos:3.3.0-8.3.2")
implementation("com.qcloud:chdfs_hadoop_plugin_network:3.2")
implementation("com.squareup.okhttp3:okhttp:4.10.0")
// keep on the same train as okhttp (tencentcloud-sdk declares 3.12.x)
implementation("com.squareup.okhttp3:logging-interceptor:4.10.0")
implementation("com.squareup.okio:okio:3.4.0")
// okhttp 4.10.0 drags in okio-jvm 3.0.0 (CVE-2023-3635); keep it aligned with okio
implementation("com.squareup.okio:okio-jvm:3.4.0")
// tencentcloud-sdk below 3.1.1471 drags in EOL okhttp 2.7.5 (via hadoop-cos)
implementation("com.tencentcloudapi:tencentcloud-sdk-java-common:3.1.1471")
implementation("com.tencentcloudapi:tencentcloud-sdk-java-kms:3.1.1471")
implementation("com.starrocks:fe-testing:${project.version}")
implementation("com.starrocks:hive-udf:${project.version}")
implementation("com.starrocks:jprotobuf-starrocks:${project.ext["jprotobuf-starrocks.version"]}")
implementation("com.starrocks:fe-utils:${project.version}")
implementation("com.starrocks:spark-dpp:${project.version}")
implementation("com.starrocks:starclient:${project.ext["staros.version"]}")
implementation("com.starrocks:starmanager:${project.ext["staros.version"]}")
implementation("com.starrocks:starrocks-bdb-je:18.3.20")
implementation("com.sun.activation:javax.activation:1.2.0")
implementation("commons-beanutils:commons-beanutils:${project.ext["commons-beanutils.version"]}")
implementation("commons-cli:commons-cli:1.4")
implementation("commons-codec:commons-codec:1.13")
implementation("commons-collections:commons-collections:3.2.2")
implementation("commons-io:commons-io:2.16.1")
implementation("commons-lang:commons-lang:2.4")
implementation("commons-validator:commons-validator:1.7")
implementation("de.jflex:jflex:1.4.3")
implementation("dnsjava:dnsjava:${project.ext["dnsjava.version"]}")
implementation("io.airlift:aircompressor:2.0.3")
implementation("io.airlift:concurrent:202")
implementation("io.airlift:security:202")
implementation("io.delta:delta-kernel-api:${project.ext["delta-kernel.version"]}")
implementation("io.delta:delta-kernel-defaults:${project.ext["delta-kernel.version"]}")
implementation("io.grpc:grpc-api:${project.ext["grpc.version"]}")
implementation("io.grpc:grpc-core:${project.ext["grpc.version"]}")
implementation("io.grpc:grpc-netty-shaded:${project.ext["grpc.version"]}")
implementation("io.grpc:grpc-protobuf:${project.ext["grpc.version"]}")
implementation("io.grpc:grpc-stub:${project.ext["grpc.version"]}")
implementation("io.netty:netty-all:${project.ext["io.netty.version"]}")
implementation("io.netty:netty-handler:${project.ext["io.netty.version"]}")
implementation("io.trino.hive:hive-apache:${project.ext["hive-apache.version"]}")
implementation("it.unimi.dsi:fastutil:${project.ext["fastutil.version"]}")
implementation("javax.annotation:javax.annotation-api:1.3.2")
implementation("javax.validation:validation-api:1.1.0.Final")
implementation("javax.xml.ws:jaxws-api:2.3.0")
implementation("net.sourceforge.czt.dev:java-cup:0.11-a-czt02-cdh")
implementation("org.antlr:antlr4-runtime:${project.ext["antlr.version"]}")
implementation("org.apache.arrow:arrow-jdbc:${project.ext["arrow.version"]}")
implementation("org.apache.arrow:arrow-memory-netty:${project.ext["arrow.version"]}")
implementation("org.apache.arrow:arrow-vector:${project.ext["arrow.version"]}")
implementation("org.apache.arrow:flight-core:${project.ext["arrow.version"]}")
implementation("org.apache.arrow:flight-sql:${project.ext["arrow.version"]}")
implementation("org.apache.arrow:flight-sql-jdbc-driver:${project.ext["arrow.version"]}")
implementation("org.apache.avro:avro:${project.ext["avro.version"]}")
implementation("org.apache.commons:commons-dbcp2:2.9.0")
// 3.18.0 fixes CVE-2025-48924
implementation("org.apache.commons:commons-lang3:3.18.0")
implementation("org.apache.commons:commons-pool2:2.3")
implementation("org.apache.groovy:groovy-groovysh:4.0.9")
implementation("org.apache.hadoop:hadoop-aliyun:${project.ext["hadoop.version"]}")
implementation("org.apache.hadoop:hadoop-aws:${project.ext["hadoop.version"]}")
implementation("org.apache.hadoop:hadoop-azure:${project.ext["hadoop.version"]}")
implementation("org.apache.hadoop:hadoop-azure-datalake:${project.ext["hadoop.version"]}")
implementation("org.apache.hadoop:hadoop-client:${project.ext["hadoop.version"]}")
implementation("org.apache.hadoop:hadoop-client-api:${project.ext["hadoop.version"]}")
implementation("org.apache.hadoop:hadoop-client-runtime:${project.ext["hadoop.version"]}")
implementation("org.apache.hadoop:hadoop-common:${project.ext["hadoop.version"]}")
implementation("org.apache.hadoop:hadoop-hdfs:${project.ext["hadoop.version"]}")
implementation("org.apache.hbase:hbase-client:${project.ext["hbase.version"]}")
implementation("org.apache.hbase:hbase-server:${project.ext["hbase.version"]}")
implementation("org.apache.httpcomponents.client5:httpclient5:5.4.3")
implementation("org.apache.hudi:hudi-common:${project.ext["hudi.version"]}")
implementation("org.apache.hudi:hudi-hadoop-mr:${project.ext["hudi.version"]}")
implementation("org.apache.hudi:hudi-io:${project.ext["hudi.version"]}")
implementation("org.apache.iceberg:iceberg-api:${project.ext["iceberg.version"]}")
implementation("org.apache.iceberg:iceberg-aws:${project.ext["iceberg.version"]}")
implementation("org.apache.iceberg:iceberg-bundled-guava:${project.ext["iceberg.version"]}")
implementation("org.apache.iceberg:iceberg-common:${project.ext["iceberg.version"]}")
implementation("org.apache.iceberg:iceberg-core:${project.ext["iceberg.version"]}")
implementation("org.apache.iceberg:iceberg-hive-metastore:${project.ext["iceberg.version"]}")
implementation("org.apache.ivy:ivy:2.5.2")
implementation("org.apache.kafka:kafka-clients:${project.ext["kafka-clients.version"]}")
implementation("org.apache.kudu:kudu-client:${project.ext["kudu.version"]}")
implementation("org.apache.logging.log4j:log4j-1.2-api:${project.ext["log4j.version"]}")
implementation("org.apache.logging.log4j:log4j-api:${project.ext["log4j.version"]}")
implementation("org.apache.logging.log4j:log4j-core:${project.ext["log4j.version"]}")
implementation("org.apache.logging.log4j:log4j-layout-template-json:${project.ext["log4j.version"]}")
implementation("org.apache.logging.log4j:log4j-slf4j-impl:${project.ext["log4j.version"]}")
implementation("org.apache.paimon:paimon-bundle:${project.ext["paimon.version"]}")
implementation("org.apache.paimon:paimon-oss:${project.ext["paimon.version"]}")
implementation("org.apache.paimon:paimon-s3:${project.ext["paimon.version"]}")
implementation("org.apache.orc:orc-core:${project.ext["orc.version"]}")
implementation("org.apache.parquet:parquet-avro:${project.ext["parquet.version"]}")
implementation("org.apache.parquet:parquet-column:${project.ext["parquet.version"]}")
implementation("org.apache.parquet:parquet-common:${project.ext["parquet.version"]}")
implementation("org.apache.parquet:parquet-hadoop:${project.ext["parquet.version"]}")
implementation("org.apache.ranger:ranger-plugins-common:2.8.0")
implementation("org.apache.spark:spark-catalyst_2.12:${project.ext["spark.version"]}")
implementation("org.apache.spark:spark-core_2.12:${project.ext["spark.version"]}")
implementation("org.apache.spark:spark-launcher_2.12:${project.ext["spark.version"]}")
implementation("org.apache.spark:spark-sql_2.12:${project.ext["spark.version"]}")
implementation("org.apache.thrift:libthrift:${project.ext["thrift.version"]}")
implementation("org.apache.velocity:velocity-engine-core:2.4.1")
implementation("org.bouncycastle:bcpkix-jdk18on:${project.ext["bouncycastle.version"]}")
implementation("org.bouncycastle:bcprov-jdk18on:${project.ext["bouncycastle.version"]}")
implementation("org.bouncycastle:bcutil-jdk18on:${project.ext["bouncycastle.version"]}")
// xz used to reach fe/lib only via the excluded avro-ipc; keep it for the
// jars that still reference it (commons-compress, clickhouse-jdbc, ...)
implementation("org.tukaani:xz:1.9")
implementation("org.eclipse.jetty:jetty-client:${project.ext["jetty.version"]}")
implementation("org.eclipse.jetty:jetty-io:${project.ext["jetty.version"]}")
implementation("org.eclipse.jetty:jetty-security:${project.ext["jetty.version"]}")
implementation("org.eclipse.jetty:jetty-server:${project.ext["jetty.version"]}")
implementation("org.eclipse.jetty:jetty-servlet:${project.ext["jetty.version"]}")
implementation("org.eclipse.jetty:jetty-util:${project.ext["jetty.version"]}")
implementation("org.eclipse.jetty:jetty-util-ajax:${project.ext["jetty.version"]}")
implementation("org.eclipse.jetty:jetty-webapp:${project.ext["jetty.version"]}")
implementation("org.jboss.byteman:byteman:${project.ext["byteman.version"]}")
implementation("org.jboss.xnio:xnio-nio:3.8.16.Final")
implementation("org.jdom:jdom2:2.0.6.1")
implementation("org.json:json:20231013")
implementation("org.junit.jupiter:junit-jupiter:${project.ext["junit.version"]}")
implementation("org.mariadb.jdbc:mariadb-java-client:3.3.2")
implementation("org.owasp.encoder:encoder:1.3.1")
implementation("org.postgresql:postgresql:42.7.11")
implementation("org.roaringbitmap:RoaringBitmap:0.8.13")
implementation("org.scala-lang:scala-library:2.12.10")
implementation("org.slf4j:slf4j-api:1.7.30")
implementation("org.xerial.snappy:snappy-java:1.1.10.5")
implementation("software.amazon.awssdk:dynamodb:${project.ext["aws-v2-sdk.version"]}")
implementation("software.amazon.awssdk:glue:${project.ext["aws-v2-sdk.version"]}")
implementation("software.amazon.awssdk:kms:${project.ext["aws-v2-sdk.version"]}")
implementation("software.amazon.awssdk:s3:${project.ext["aws-v2-sdk.version"]}")
implementation("software.amazon.awssdk:s3-transfer-manager:${project.ext["aws-v2-sdk.version"]}")
implementation("software.amazon.awssdk:sso:${project.ext["aws-v2-sdk.version"]}")
implementation("software.amazon.awssdk:ssooidc:${project.ext["aws-v2-sdk.version"]}")
implementation("software.amazon.awssdk:sts:${project.ext["aws-v2-sdk.version"]}")
implementation("software.amazon.awssdk:url-connection-client:${project.ext["aws-v2-sdk.version"]}")
implementation("tools.profiler:async-profiler:${project.ext["async-profiler.version"]}")
implementation("at.yawk.lz4:lz4-java:${project.ext["lz4-java.version"]}")
// dependency sync end
}
}
// Mirror the Maven-side CVE exclusions/enforcer bans (see fe/pom.xml):
// these artifacts must never appear on any FE classpath.
configurations.all {
// superseded by bcprov-jdk18on; 1.70 carries multiple open CVEs
exclude(group = "org.bouncycastle", module = "bcprov-jdk15on")
// EOL okhttp 2.x line (okhttp3 lives under com.squareup.okhttp3)
exclude(group = "com.squareup.okhttp")
// JSP engine, unused by FE; tomcat 9.0.93 carries CVE-2025-55754/CVE-2025-52434
exclude(group = "org.apache.tomcat")
exclude(group = "org.apache.tomcat.embed")
// ships jquery 1.4.2 (CVE-2011-4969 etc.); only avro-mapred's unused tether feature references it
exclude(group = "org.apache.avro", module = "avro-ipc")
exclude(group = "org.apache.avro", module = "avro-ipc-jetty")
}
// Resolve capability conflicts: at.yawk.lz4:lz4-java replaces org.lz4:lz4-java and org.lz4:lz4-pure-java
configurations.all {
resolutionStrategy.capabilitiesResolution {
withCapability("org.lz4:lz4-java") {
select("at.yawk.lz4:lz4-java:${project.ext["lz4-java.version"]}")
because("Use at.yawk.lz4:lz4-java instead of vulnerable org.lz4:lz4-java")
}
}
resolutionStrategy.dependencySubstitution {
substitute(module("org.lz4:lz4-java")).using(module("at.yawk.lz4:lz4-java:${project.ext["lz4-java.version"]}"))
.because("Replace org.lz4:lz4-java with at.yawk.lz4:lz4-java")
substitute(module("org.lz4:lz4-pure-java")).using(module("at.yawk.lz4:lz4-java:${project.ext["lz4-java.version"]}"))
.because("Replace org.lz4:lz4-pure-java with at.yawk.lz4:lz4-java")
}
}
tasks.withType<JavaCompile> {
options.encoding = "UTF-8"
}
publishing {
publications {
create<MavenPublication>("maven") {
from(components["java"])
}
}
}
}
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.