Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
75 changes: 5 additions & 70 deletions kafka-connect/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,10 @@ project(':iceberg-kafka-connect:iceberg-kafka-connect-runtime') {
apply plugin: 'distribution'

configurations {
hive {
extendsFrom runtimeClasspath
}
all {
exclude group: 'javax.activation', module: 'activation'
exclude group: 'org.jspecify', module: 'jspecify'
exclude group: 'com.google.code.findbugs', module: 'jsr305'
// force upgrades for dependencies with known vulnerabilities...
resolutionStrategy {
force 'org.codehaus.jettison:jettison:1.5.5'
Expand Down Expand Up @@ -120,57 +118,13 @@ project(':iceberg-kafka-connect:iceberg-kafka-connect-runtime') {
implementation project(':iceberg-parquet')

implementation project(':iceberg-aws')
implementation platform(libs.awssdk.bom)
implementation 'software.amazon.awssdk:apache-client'
implementation 'software.amazon.awssdk:auth'
implementation "software.amazon.awssdk:http-auth-aws-crt"
implementation 'software.amazon.awssdk:iam'
implementation 'software.amazon.awssdk:sso'
implementation 'software.amazon.awssdk:s3'
implementation 'software.amazon.awssdk:kms'
implementation 'software.amazon.awssdk:glue'
implementation 'software.amazon.awssdk:sts'
implementation 'software.amazon.awssdk:dynamodb'
implementation 'software.amazon.awssdk:lakeformation'
implementation project(':iceberg-aws-bundle')

implementation project(':iceberg-gcp')
implementation project(':iceberg-bigquery')
implementation platform(libs.google.libraries.bom)
implementation 'com.google.cloud:google-cloud-storage'
implementation 'com.google.cloud:google-cloud-bigquery'
implementation 'com.google.cloud:google-cloud-core'
implementation project(':iceberg-gcp-bundle')

implementation project(':iceberg-azure')
implementation platform(libs.azuresdk.bom)
implementation 'com.azure:azure-storage-file-datalake'
implementation 'com.azure:azure-identity'

hive project(':iceberg-hive-metastore')
hive(libs.hive2.metastore) {
exclude group: 'org.apache.avro', module: 'avro'
exclude group: 'org.slf4j', module: 'slf4j-log4j12'
exclude group: 'org.pentaho' // missing dependency
exclude group: 'org.apache.hbase'
exclude group: 'org.apache.logging.log4j'
exclude group: 'co.cask.tephra'
exclude group: 'com.google.code.findbugs', module: 'jsr305'
exclude group: 'org.eclipse.jetty.aggregate', module: 'jetty-all'
exclude group: 'org.eclipse.jetty.orbit', module: 'javax.servlet'
exclude group: 'org.apache.parquet', module: 'parquet-hadoop-bundle'
exclude group: 'com.tdunning', module: 'json'
exclude group: 'javax.transaction', module: 'transaction-api'
exclude group: 'com.zaxxer', module: 'HikariCP'
exclude group: 'org.apache.hadoop', module: 'hadoop-yarn-server-common'
exclude group: 'org.apache.hadoop', module: 'hadoop-yarn-server-applicationhistoryservice'
exclude group: 'org.apache.hadoop', module: 'hadoop-yarn-server-resourcemanager'
exclude group: 'org.apache.hadoop', module: 'hadoop-yarn-server-web-proxy'
exclude group: 'org.apache.hive', module: 'hive-service-rpc'
exclude group: 'com.github.joshelser', module: 'dropwizard-metrics-hadoop-metrics2-reporter'
}
hive(libs.hadoop3.client) {
exclude group: 'org.apache.avro', module: 'avro'
exclude group: 'org.slf4j', module: 'slf4j-log4j12'
}
implementation project(':iceberg-azure-bundle')

integrationImplementation project(':iceberg-api')
integrationImplementation project(':iceberg-common')
Expand Down Expand Up @@ -218,21 +172,6 @@ project(':iceberg-kafka-connect:iceberg-kafka-connect-runtime') {
}
}
}
hive {
contents {
from "${processResources.destinationDir}/manifest.json"
into('lib/') {
from configurations.hive
}
into('doc/') {
from "$projectDir/hive/LICENSE"
from "$projectDir/hive/NOTICE"
}
into('assets/') {
from "${processResources.destinationDir}/iceberg.png"
}
}
}
}

// there are no Maven artifacts so disable publishing tasks...
Expand All @@ -246,14 +185,10 @@ project(':iceberg-kafka-connect:iceberg-kafka-connect-runtime') {
distZip.dependsOn processResources
installDist.dependsOn processResources

tasks.hiveDistTar.enabled = false
hiveDistZip.dependsOn processResources
installHiveDist.dependsOn processResources

integrationTest.dependsOn installDist
check.dependsOn integrationTest

assemble.dependsOn distZip, hiveDistZip
assemble.dependsOn distZip

apply from: "${rootDir}/runtime-deps.gradle"
}
Expand Down
Loading
Loading