Skip to content

Commit facf092

Browse files
committed
Open API: Remove runtime Jar from build and deploy.
1 parent df00c15 commit facf092

2 files changed

Lines changed: 0 additions & 22 deletions

File tree

‎build.gradle‎

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1060,9 +1060,6 @@ project(':iceberg-snowflake') {
10601060

10611061
project(':iceberg-open-api') {
10621062
apply plugin: 'java-test-fixtures'
1063-
apply plugin: 'com.gradleup.shadow'
1064-
1065-
build.dependsOn shadowJar
10661063

10671064
dependencies {
10681065
testImplementation project(':iceberg-api')
@@ -1147,24 +1144,6 @@ project(':iceberg-open-api') {
11471144
}
11481145
check.dependsOn('validateRESTCatalogSpec')
11491146

1150-
shadowJar {
1151-
archiveBaseName.set("iceberg-open-api-test-fixtures-runtime")
1152-
archiveClassifier.set(null)
1153-
configurations = [project.configurations.testFixturesRuntimeClasspath]
1154-
from sourceSets.testFixtures.output
1155-
zip64 true
1156-
1157-
// include the LICENSE and NOTICE files for the runtime Jar
1158-
from(projectDir) {
1159-
include 'LICENSE'
1160-
include 'NOTICE'
1161-
}
1162-
1163-
manifest {
1164-
attributes 'Main-Class': 'org.apache.iceberg.rest.RESTCatalogServer'
1165-
}
1166-
}
1167-
11681147
jar {
11691148
enabled = false
11701149
}

‎deploy.gradle‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ subprojects {
7575
} else if (isOpenApi) {
7676
artifact testJar
7777
artifact testFixturesJar
78-
artifact shadowJar
7978
} else {
8079
if (tasks.matching({task -> task.name == 'shadowJar'}).isEmpty()) {
8180
from components.java

0 commit comments

Comments
 (0)