Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions build-logic/src/main/kotlin/authmgr-java.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ plugins {

tasks.withType(JavaCompile::class.java).configureEach {
options.compilerArgs.addAll(listOf("-Xlint:unchecked", "-Xlint:deprecation"))
// Required by Error Prone 2.48.0+ on JDK 21+
if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_21)) {
options.compilerArgs.add("-XDaddTypeAnnotationsToSymbol=true")
}
options.errorprone.disableAllWarnings = true
options.errorprone.excludedPaths =
".*/${project.layout.buildDirectory.get().asFile.relativeTo(projectDir)}/generated/.*"
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ org.gradle.jvmargs=-Xms2g -Xmx4g -XX:MaxMetaspaceSize=768m
# Matrix testing configuration for integration tests
# Comma-separated list of versions to test against
# The last version in the list is the default and will be used for the main intTest task
authmgr.test.iceberg.versions=1.9.2,1.10.0
authmgr.test.iceberg.versions=1.9.2,1.10.1
authmgr.test.spark.versions=3.5.6,4.0.1
authmgr.test.flink.versions=1.20.2,2.0.0
authmgr.test.iceberg-connector.versions=1.9.2
Expand Down
24 changes: 12 additions & 12 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
#

[versions]
errorprone = "2.43.0"
hadoop = "3.4.1"
iceberg = "1.10.0" # When updating iceberg version, also update the iceberg test versions in gradle.properties
immutables = "2.11.6"
mockito = "5.20.0"
errorprone = "2.48.0"
hadoop = "3.4.3"
iceberg = "1.10.1" # When updating iceberg version, also update the iceberg test versions in gradle.properties
immutables = "2.12.1"
mockito = "5.22.0"
mockserver = "5.15.0"
nimbus-oauth2 = "11.30"
nimbus-jose-jwt = "10.5"
nimbus-oauth2 = "11.33"
nimbus-jose-jwt = "10.8"
slf4j = "2.0.17"

[bundles]
Expand All @@ -36,7 +36,7 @@ slf4j = "2.0.17"
# If a dependency is removed, check whether the LICENSE and/or NOTICE files need to be adapted
# (aka mention of the dependency removed).
#
assertj-core = { module = "org.assertj:assertj-core", version = "3.27.6" }
assertj-core = { module = "org.assertj:assertj-core", version = "3.27.7" }
awaitility = { module = "org.awaitility:awaitility", version = "4.3.0" }
bouncycastle-bcpkix = { module = "org.bouncycastle:bcpkix-jdk18on", version = "1.82" }
caffeine = { module = "com.github.ben-manes.caffeine:caffeine", version = "3.2.3" }
Expand All @@ -46,16 +46,16 @@ guava = { module = "com.google.guava:guava", version = "33.5.0-jre" }
hadoop-common = { module = "org.apache.hadoop:hadoop-common", version.ref = "hadoop" }
hadoop-hdfs-client = { module = "org.apache.hadoop:hadoop-hdfs-client", version.ref = "hadoop" }
hadoop-mapreduce-client-core = { module = "org.apache.hadoop:hadoop-mapreduce-client-core", version.ref = "hadoop" }
httpclient5 = { module = "org.apache.httpcomponents.client5:httpclient5", version = "5.5.1" }
httpclient5 = { module = "org.apache.httpcomponents.client5:httpclient5", version = "5.6" }
immutables-builder = { module = "org.immutables:builder", version.ref = "immutables" }
immutables-value-annotations = { module = "org.immutables:value-annotations", version.ref = "immutables" }
immutables-value-processor = { module = "org.immutables:value-processor", version.ref = "immutables" }
iceberg-bom = { module = "org.apache.iceberg:iceberg-bom", version.ref = "iceberg" }
jakarta-annotation-api = { module = "jakarta.annotation:jakarta.annotation-api", version = "3.0.0" }
junit-bom = { module = "org.junit:junit-bom", version = "6.0.0" }
junit-pioneer = { module = "org.junit-pioneer:junit-pioneer", version = "2.3.0" }
keycloak-admin-client = { module = "org.keycloak:keycloak-admin-client", version = "26.0.7" }
logback-classic = { module = "ch.qos.logback:logback-classic", version = "1.5.20" }
keycloak-admin-client = { module = "org.keycloak:keycloak-admin-client", version = "26.0.8" }
logback-classic = { module = "ch.qos.logback:logback-classic", version = "1.5.31" }
mockito-core = { module = "org.mockito:mockito-core", version.ref = "mockito" }
mockito-junit-jupiter = { module = "org.mockito:mockito-junit-jupiter", version.ref = "mockito" }
mockserver-client-java = { module = "org.mock-server:mockserver-client-java", version.ref = "mockserver" }
Expand All @@ -67,7 +67,7 @@ slf4j-api = { module = "org.slf4j:slf4j-api", version.ref = "slf4j" }
# Last version supporting JDK 11 https://github.com/smallrye/smallrye-config/pull/1287
smallrye-config = { module = "io.smallrye.config:smallrye-config", version = { strictly = "3.10.2" } }
testcontainers-bom = { module = "org.testcontainers:testcontainers-bom", version = "2.0.1" }
testcontainers-keycloak = { module = "com.github.dasniko:testcontainers-keycloak", version = "3.9.0" }
testcontainers-keycloak = { module = "com.github.dasniko:testcontainers-keycloak", version = "4.1.1" }

[plugins]
rat = { id = "org.nosphere.apache.rat", version = "0.8.1" }
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
import org.apache.hc.client5.http.impl.classic.HttpClients;
import org.apache.hc.client5.http.impl.io.PoolingHttpClientConnectionManagerBuilder;
import org.apache.hc.client5.http.ssl.DefaultClientTlsStrategy;
import org.apache.hc.client5.http.ssl.HostnameVerificationPolicy;
import org.apache.hc.client5.http.ssl.HttpsSupport;
import org.apache.hc.client5.http.ssl.NoopHostnameVerifier;
import org.apache.hc.client5.http.ssl.TrustAllStrategy;
Expand Down Expand Up @@ -210,6 +211,7 @@ public static HttpClientBuilder createApacheClientBuilder(HttpConfig config) {
.map(list -> list.toArray(new String[0]))
.orElseGet(HttpsSupport::getSystemCipherSuits),
SSLBufferMode.STATIC,
HostnameVerificationPolicy.CLIENT,
config.isSslHostnameVerificationEnabled()
? HttpsSupport.getDefaultHostnameVerifier()
: NoopHostnameVerifier.INSTANCE));
Expand Down
4 changes: 1 addition & 3 deletions oauth2/spark-tests/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,7 @@ icebergVersions.forEach { icebergVersion ->
"org.apache.iceberg:iceberg-spark-extensions-${sparkVersionMajorMinor}_$scalaVersion:$icebergVersion"
)
runtimeConfig("org.apache.iceberg:iceberg-aws-bundle:$icebergVersion")
runtimeConfig("org.apache.spark:spark-sql_$scalaVersion:$sparkVersion") {
exclude(group = "org.apache.logging.log4j")
}
runtimeConfig("org.apache.spark:spark-sql_$scalaVersion:$sparkVersion")
Comment thread
adutra marked this conversation as resolved.
}

testing {
Expand Down