|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
project(":iceberg-gcp-bundle") { |
|
|
|
|
|
apply plugin: 'com.github.johnrengelman.shadow' |
|
|
|
|
|
tasks.jar.dependsOn tasks.shadowJar |
|
|
|
|
|
dependencies { |
|
|
implementation platform(libs.google.libraries.bom) |
|
|
implementation "com.google.cloud:google-cloud-storage" |
|
|
} |
|
|
|
|
|
shadowJar { |
|
|
archiveClassifier.set(null) |
|
|
zip64 true |
|
|
|
|
|
|
|
|
from(projectDir) { |
|
|
include 'LICENSE' |
|
|
include 'NOTICE' |
|
|
} |
|
|
|
|
|
|
|
|
relocate 'com.fasterxml.jackson', 'org.apache.iceberg.gcp.shaded.com.fasterxml.jackson' |
|
|
relocate 'com.google.common', 'org.apache.iceberg.gcp.shaded.com.google.common' |
|
|
relocate 'com.google.errorprone', 'org.apache.iceberg.gcp.shaded.com.google.errorprone' |
|
|
relocate 'com.google.gson', 'org.apache.iceberg.gcp.shaded.com.google.gson' |
|
|
relocate 'com.google.protobuf', 'org.apache.iceberg.gcp.shaded.com.google.protobuf' |
|
|
relocate 'org.apache.http', 'org.apache.iceberg.gcp.shaded.org.apache.http' |
|
|
relocate 'io.netty', 'org.apache.iceberg.gcp.shaded.io.netty' |
|
|
} |
|
|
|
|
|
jar { |
|
|
enabled = false |
|
|
} |
|
|
} |
|
|
|