Skip to content

Commit e1c63c1

Browse files
committed
Publish test artifacts for open api module
1 parent 3e213ca commit e1c63c1

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

deploy.gradle

+4-5
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,8 @@ if (project.hasProperty('release') && jdkVersion != '11') {
2222
}
2323

2424
subprojects {
25-
if (it.name == 'iceberg-open-api') {
26-
// don't publish iceberg-open-api
27-
return
28-
}
29-
3025
def isBom = it.name == 'iceberg-bom'
26+
def isOpenApi = it.name == 'iceberg-open-api'
3127

3228
apply plugin: 'maven-publish'
3329
apply plugin: 'signing'
@@ -76,6 +72,9 @@ subprojects {
7672
apache(MavenPublication) {
7773
if (isBom) {
7874
from components.javaPlatform
75+
} else if (isOpenApi) {
76+
artifact testJar
77+
artifact testFixturesJar
7978
} else {
8079
if (tasks.matching({task -> task.name == 'shadowJar'}).isEmpty()) {
8180
from components.java

0 commit comments

Comments
 (0)