service/common/build.gradle.kts (92 lines of code) (raw):
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF 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.
*/
plugins {
id("polaris-server")
id("java-test-fixtures")
alias(libs.plugins.jandex)
}
dependencies {
implementation(project(":polaris-core"))
implementation(project(":polaris-api-management-model"))
implementation(project(":polaris-api-management-service"))
implementation(project(":polaris-api-iceberg-service"))
implementation(project(":polaris-api-catalog-service"))
implementation(platform(libs.iceberg.bom))
implementation("org.apache.iceberg:iceberg-api")
implementation("org.apache.iceberg:iceberg-core")
implementation("org.apache.iceberg:iceberg-aws")
implementation(libs.hadoop.common) {
exclude("org.slf4j", "slf4j-reload4j")
exclude("org.slf4j", "slf4j-log4j12")
exclude("ch.qos.reload4j", "reload4j")
exclude("log4j", "log4j")
exclude("org.apache.zookeeper", "zookeeper")
exclude("org.apache.hadoop.thirdparty", "hadoop-shaded-protobuf_3_25")
exclude("com.github.pjfanning", "jersey-json")
exclude("com.sun.jersey", "jersey-core")
exclude("com.sun.jersey", "jersey-server")
exclude("com.sun.jersey", "jersey-servlet")
exclude("com.sun.jersey", "jersey-servlet")
exclude("io.dropwizard.metrics", "metrics-core")
}
implementation(libs.hadoop.hdfs.client)
implementation(libs.jakarta.annotation.api)
implementation(libs.jakarta.enterprise.cdi.api)
implementation(libs.jakarta.inject.api)
implementation(libs.jakarta.servlet.api)
implementation(libs.jakarta.validation.api)
implementation(libs.jakarta.ws.rs.api)
implementation(libs.smallrye.common.annotation)
implementation(platform(libs.jackson.bom))
implementation("com.fasterxml.jackson.core:jackson-annotations")
implementation(libs.caffeine)
implementation(libs.guava)
implementation(libs.slf4j.api)
compileOnly(libs.swagger.annotations)
compileOnly(libs.spotbugs.annotations)
implementation(libs.swagger.jaxrs)
implementation(libs.hadoop.client.api)
implementation(libs.auth0.jwt)
implementation(libs.bouncycastle.bcprov)
implementation(platform(libs.google.cloud.storage.bom))
implementation("com.google.cloud:google-cloud-storage")
implementation(platform(libs.awssdk.bom))
implementation("software.amazon.awssdk:sts")
implementation("software.amazon.awssdk:iam-policy-builder")
implementation("software.amazon.awssdk:s3")
implementation(platform(libs.azuresdk.bom))
implementation("com.azure:azure-core")
implementation("com.azure:azure-storage-blob")
implementation("com.azure:azure-storage-file-datalake")
implementation(libs.microprofile.fault.tolerance.api)
testImplementation(platform(libs.junit.bom))
testImplementation("org.junit.jupiter:junit-jupiter")
testImplementation(libs.assertj.core)
testImplementation(libs.mockito.core)
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testImplementation(libs.logback.classic)
testFixturesImplementation(project(":polaris-core"))
testFixturesImplementation(project(":polaris-api-management-model"))
testFixturesImplementation(project(":polaris-api-management-service"))
testFixturesImplementation(project(":polaris-api-iceberg-service"))
testFixturesImplementation(project(":polaris-api-catalog-service"))
testFixturesImplementation(libs.jakarta.enterprise.cdi.api)
testFixturesImplementation(libs.jakarta.annotation.api)
testFixturesImplementation(libs.jakarta.ws.rs.api)
testFixturesImplementation(platform(libs.quarkus.bom))
testFixturesImplementation("io.quarkus:quarkus-rest-client")
testFixturesImplementation("io.quarkus:quarkus-rest-client-jackson")
testFixturesImplementation(platform(libs.iceberg.bom))
testFixturesImplementation("org.apache.iceberg:iceberg-api")
testFixturesImplementation("org.apache.iceberg:iceberg-core")
testFixturesImplementation("org.apache.iceberg:iceberg-aws")
testFixturesImplementation(platform(libs.google.cloud.storage.bom))
testFixturesImplementation("com.google.cloud:google-cloud-storage")
testFixturesImplementation(platform(libs.awssdk.bom))
testFixturesImplementation("software.amazon.awssdk:sts")
testFixturesImplementation("software.amazon.awssdk:iam-policy-builder")
testFixturesImplementation("software.amazon.awssdk:s3")
testFixturesImplementation(platform(libs.azuresdk.bom))
testFixturesImplementation("com.azure:azure-core")
testFixturesImplementation("com.azure:azure-storage-blob")
testFixturesImplementation("com.azure:azure-storage-file-datalake")
}
tasks.named("javadoc") { dependsOn("jandex") }