Skip to content

Commit 6ce5189

Browse files
committed
[SPARK-53457] Expose fabric8 dependencies as api for downstream users
### What changes were proposed in this pull request? This PR exposes fabric8 dependencies as api in gradle build and hence in pom ### Why are the changes needed? Our public API surfaces fabric8 types (e.g. PodTemplateSpec), so hiding the dependencies behind `implementation` may cause comile errors for customers who need to use those types along with our API library. This enhances developer experience and avoid surprises when integrating our API with projects that already depends on fabric8. ### Does this PR introduce _any_ user-facing change? Pom change only ### How was this patch tested? CIs ### Was this patch authored or co-authored using generative AI tooling? No
1 parent a55be8d commit 6ce5189

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

spark-operator-api/build.gradle

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,13 @@
1616
* specific language governing permissions and limitations
1717
* under the License.
1818
*/
19+
plugins {
20+
id 'java-library'
21+
}
22+
1923
dependencies {
2024
// fabric8
21-
implementation(libs.kubernetes.client) {
25+
api(libs.kubernetes.client) {
2226
exclude group: 'com.squareup.okhttp3'
2327
}
2428
compileOnly(libs.crd.generator.apt)

0 commit comments

Comments
 (0)