Skip to content

Commit f5a3f62

Browse files
committed
Nit: simplify runtime-service dependencies
Dependency "io.quarkus:quarkus-jdbc-postgresql" doesn't need any excludes (these excludes were for `SparkIT` which is now isolated in a separate module).
1 parent af69d9f commit f5a3f62

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

runtime/service/build.gradle.kts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ dependencies {
3131
implementation(project(":polaris-api-iceberg-service"))
3232
implementation(project(":polaris-api-catalog-service"))
3333

34+
runtimeOnly(project(":polaris-relational-jdbc"))
35+
3436
implementation(project(":polaris-runtime-defaults"))
3537
implementation(project(":polaris-runtime-common"))
3638

@@ -54,6 +56,7 @@ dependencies {
5456
implementation("io.quarkus:quarkus-security")
5557
implementation("io.quarkus:quarkus-smallrye-context-propagation")
5658
implementation("io.quarkus:quarkus-smallrye-fault-tolerance")
59+
runtimeOnly("io.quarkus:quarkus-jdbc-postgresql")
5760

5861
implementation(libs.jakarta.enterprise.cdi.api)
5962
implementation(libs.jakarta.inject.api)
@@ -135,12 +138,6 @@ dependencies {
135138
testImplementation("software.amazon.awssdk:kms")
136139
testImplementation("software.amazon.awssdk:dynamodb")
137140

138-
runtimeOnly(project(":polaris-relational-jdbc"))
139-
runtimeOnly("io.quarkus:quarkus-jdbc-postgresql") {
140-
exclude(group = "org.antlr", module = "antlr4-runtime")
141-
exclude(group = "org.scala-lang", module = "scala-library")
142-
exclude(group = "org.scala-lang", module = "scala-reflect")
143-
}
144141
testImplementation(platform(libs.quarkus.bom))
145142
testImplementation("io.quarkus:quarkus-junit5")
146143
testImplementation("io.quarkus:quarkus-junit5-mockito")

0 commit comments

Comments
 (0)