1515 */
1616
1717plugins {
18- id " org. openapi.generator" version " 7.6.0 "
18+ alias(libs . plugins . openapi. generator)
1919 id(" java-library" )
2020 id(" java-test-fixtures" )
2121}
@@ -26,27 +26,28 @@ compileJava {
2626}
2727
2828dependencies {
29- implementation(platform(" org.apache. iceberg:iceberg- bom: ${ icebergVersion } " ))
30- implementation(" org.apache.iceberg:iceberg-api: ${ icebergVersion } " )
31- implementation(" org.apache.iceberg:iceberg-core: ${ icebergVersion } " )
29+ implementation(platform(libs . iceberg. bom))
30+ implementation(" org.apache.iceberg:iceberg-api" )
31+ implementation(" org.apache.iceberg:iceberg-core" )
3232 constraints {
3333 implementation(" io.airlift:aircompressor:0.27" ) {
3434 because " Vulnerability detected in 0.25"
3535 }
3636 }
3737 // TODO - this is only here for the Discoverable interface
3838 // We should use a different mechanism to discover the plugin implementations
39- implementation(" io.dropwizard:dropwizard-jackson:${ dropwizardVersion} " )
39+ implementation(platform(libs. dropwizard. bom))
40+ implementation(" io.dropwizard:dropwizard-jackson" )
4041
41- implementation(platform(" com.fasterxml. jackson:jackson- bom: ${ jacksonVersion } " ))
42+ implementation(platform(libs . jackson. bom))
4243 implementation(" com.fasterxml.jackson.core:jackson-annotations" )
4344 implementation(" com.fasterxml.jackson.core:jackson-core" )
4445 implementation(" com.fasterxml.jackson.core:jackson-databind" )
45- implementation(" com.github.ben-manes. caffeine:caffeine:3.1.8 " )
46- implementation(" org.apache. commons:commons-lang3:3.14.0 " )
47- implementation(" commons-codec:commons-codec:1.17.0 " )
46+ implementation(libs . caffeine)
47+ implementation(libs . commons. lang3 )
48+ implementation(libs . commons. codec1 )
4849
49- implementation(" org.apache. hadoop:hadoop- common: ${ hadoopVersion } " ) {
50+ implementation(libs . hadoop. common) {
5051 exclude group : " org.slf4j" , module : " slf4j-reload4j"
5152 exclude group : " org.slf4j" , module : " slf4j-log4j12"
5253 exclude group : " ch.qos.reload4j" , module : " reload4j"
@@ -71,24 +72,25 @@ dependencies {
7172 }
7273
7374 }
74- implementation(" org.apache. hadoop:hadoop- hdfs- client: ${ hadoopVersion } " )
75+ implementation(libs . hadoop. hdfs. client)
7576
76- implementation(" javax.inject: javax.inject:1 " )
77- implementation(" io .swagger:swagger-annotations:1.6.14 " )
78- implementation(" io .swagger:swagger-jaxrs:1.6.14 " )
79- implementation(" jakarta.validation: jakarta.validation-api:3.0.2 " )
77+ implementation(libs . javax. inject)
78+ implementation(libs . swagger. annotations )
79+ implementation(libs . swagger. jaxrs )
80+ implementation(libs . jakarta. validation. api )
8081
8182 implementation(" org.apache.iceberg:iceberg-aws" )
82- implementation(platform(" software.amazon. awssdk:bom:2.26.25 " ))
83+ implementation(platform(libs . awssdk. bom ))
8384 implementation(" software.amazon.awssdk:sts" )
8485 implementation(" software.amazon.awssdk:iam-policy-builder" )
8586 implementation(" software.amazon.awssdk:s3" )
8687
8788 implementation(" org.apache.iceberg:iceberg-azure" )
88- implementation(" com.azure:azure-storage-blob:12.18.0" )
89- implementation(" com.azure:azure-storage-common:12.14.2" )
90- implementation(" com.azure:azure-identity:1.12.2" )
91- implementation(" com.azure:azure-storage-file-datalake:12.19.0" )
89+ implementation(platform(libs. azuresdk. bom))
90+ implementation(" com.azure:azure-storage-blob" )
91+ implementation(" com.azure:azure-storage-common" )
92+ implementation(" com.azure:azure-identity" )
93+ implementation(" com.azure:azure-storage-file-datalake" )
9294 constraints {
9395 implementation(" io.netty:netty-codec-http2:4.1.100" ) {
9496 because " Vulnerability detected in 4.1.72"
@@ -99,24 +101,24 @@ dependencies {
99101 }
100102
101103 implementation(" org.apache.iceberg:iceberg-gcp" )
102- implementation(platform(" com .google.cloud:google-cloud- storage-bom:2.39.0 " ))
104+ implementation(platform(libs . google. cloud. storage. bom ))
103105 implementation(" com.google.cloud:google-cloud-storage" )
104106
105- implementation(platform(" io .micrometer:micrometer-bom:1.13.2 " ))
107+ implementation(platform(libs . micrometer. bom ))
106108 implementation(" io.micrometer:micrometer-core" )
107109
108- testFixturesApi(platform(" org .junit:junit-bom:5.10.3 " ))
110+ testFixturesApi(platform(libs . junit. bom ))
109111 testFixturesApi(" org.junit.jupiter:junit-jupiter" )
110- testFixturesApi(" org .assertj:assertj-core:3.25.3 " )
111- testFixturesApi(" org .mockito:mockito-core:5.11.0 " )
112+ testFixturesApi(libs . assertj. core )
113+ testFixturesApi(libs . mockito. core )
112114 testFixturesApi(" com.fasterxml.jackson.core:jackson-core" )
113115 testFixturesApi(" com.fasterxml.jackson.core:jackson-databind" )
114- testFixturesApi(" org.apache. commons:commons-lang3:3.14.0 " )
115- testFixturesApi(" org .jetbrains:annotations:24.0.0 " )
116- testFixturesApi(platform(" com.fasterxml. jackson:jackson- bom: ${ jacksonVersion } " ))
116+ testFixturesApi(libs . commons. lang3 )
117+ testFixturesApi(libs . jetbrains. annotations )
118+ testFixturesApi(platform(libs . jackson. bom))
117119
118- compileOnly(" jakarta.annotation: jakarta.annotation-api:2.1.1 " )
119- compileOnly(" jakarta.persistence: jakarta.persistence-api:3.1.0 " )
120+ compileOnly(libs . jakarta. annotation. api )
121+ compileOnly(libs . jakarta. persistence. api )
120122}
121123
122124openApiValidate {
0 commit comments