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
2 changes: 1 addition & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
run: shellcheck scripts/*.sh
- uses: actions/setup-java@v5
with:
java-version: 21
java-version: 25
distribution: temurin
- uses: gradle/actions/setup-gradle@v4
- name: Run unit tests
Expand Down
10 changes: 4 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,15 @@ dependencies {
implementation 'com.fasterxml.jackson.core:jackson-databind:2.20.0'
compileOnly 'org.apache.spark:spark-sql_2.12:3.4.4'

testImplementation platform('org.junit:junit-bom:5.14.0')
testImplementation platform('org.junit:junit-bom:6.0.0')
testImplementation 'org.junit.jupiter:junit-jupiter'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
testImplementation 'org.assertj:assertj-core:3.27.6'
testImplementation 'org.mockito:mockito-core:5.20.0'
}

java {
toolchain {
languageVersion = JavaLanguageVersion.of(11)
}
compileJava {
options.release = 11
}

test {
Expand Down Expand Up @@ -75,7 +73,7 @@ spotless {
}
java {
removeUnusedImports()
palantirJavaFormat('2.50.0').formatJavadoc(true)
palantirJavaFormat().formatJavadoc(true)
formatAnnotations()
licenseHeaderFile(file('license-header.txt'))
}
Expand Down
6 changes: 6 additions & 0 deletions pmd-ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@
<exclude name="AvoidFieldNameMatchingMethodName"/>
<exclude name="UseProperClassLoader"/>
</rule>
<rule ref="category/java/errorprone.xml/CloseResource">
<properties>
<!-- AutoCloseable was retrofitted into HttpClient only in Java 21. -->
<property name="allowedResourceTypes" value="java.net.http.HttpClient"/>
</properties>
</rule>
<rule ref="category/java/multithreading.xml"/>
<rule ref="category/java/performance.xml"/>
<rule ref="category/java/security.xml"/>
Expand Down