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
20 changes: 10 additions & 10 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,19 +70,19 @@ jobs:
run: |
cd functional
curl -sSfLO https://repo1.maven.org/maven2/org/junit/platform/junit-platform-console-standalone/1.14.4/junit-platform-console-standalone-1.14.4.jar
curl -sSfLO https://repo1.maven.org/maven2/com/github/spotbugs/spotbugs-annotations/4.10.4/spotbugs-annotations-4.10.4.jar
javac -cp spotbugs-annotations-4.10.4.jar:junit-platform-console-standalone-1.14.4.jar:../api/build/libs/minio-${DEV_VERSION}-all.jar:../adminapi/build/libs/minio-admin-${DEV_VERSION}-all.jar:. FunctionalTest.java
java -cp spotbugs-annotations-4.10.4.jar:junit-platform-console-standalone-1.14.4.jar:../api/build/libs/minio-${DEV_VERSION}-all.jar:../adminapi/build/libs/minio-admin-${DEV_VERSION}-all.jar:. FunctionalTest
javac -cp spotbugs-annotations-4.10.4.jar:junit-platform-console-standalone-1.14.4.jar:../api/build/libs/minio-${DEV_VERSION}-all.jar:. ./TestUserAgent.java
java -Dversion=${DEV_VERSION} -cp spotbugs-annotations-4.10.4.jar:junit-platform-console-standalone-1.14.4.jar:../api/build/libs/minio-${DEV_VERSION}-all.jar:. TestUserAgent
javac -cp spotbugs-annotations-4.10.4.jar:junit-platform-console-standalone-1.14.4.jar:../api/build/libs/minio-${RELEASE_VERSION}-all.jar:. ./TestUserAgent.java
java -Dversion=${RELEASE_VERSION} -cp spotbugs-annotations-4.10.4.jar:junit-platform-console-standalone-1.14.4.jar:../api/build/libs/minio-${RELEASE_VERSION}-all.jar:. TestUserAgent
curl -sSfLO https://repo1.maven.org/maven2/com/github/spotbugs/spotbugs-annotations/4.10.5/spotbugs-annotations-4.10.5.jar
javac -cp spotbugs-annotations-4.10.5.jar:junit-platform-console-standalone-1.14.4.jar:../api/build/libs/minio-${DEV_VERSION}-all.jar:../adminapi/build/libs/minio-admin-${DEV_VERSION}-all.jar:. FunctionalTest.java
java -cp spotbugs-annotations-4.10.5.jar:junit-platform-console-standalone-1.14.4.jar:../api/build/libs/minio-${DEV_VERSION}-all.jar:../adminapi/build/libs/minio-admin-${DEV_VERSION}-all.jar:. FunctionalTest
javac -cp spotbugs-annotations-4.10.5.jar:junit-platform-console-standalone-1.14.4.jar:../api/build/libs/minio-${DEV_VERSION}-all.jar:. ./TestUserAgent.java
java -Dversion=${DEV_VERSION} -cp spotbugs-annotations-4.10.5.jar:junit-platform-console-standalone-1.14.4.jar:../api/build/libs/minio-${DEV_VERSION}-all.jar:. TestUserAgent
javac -cp spotbugs-annotations-4.10.5.jar:junit-platform-console-standalone-1.14.4.jar:../api/build/libs/minio-${RELEASE_VERSION}-all.jar:. ./TestUserAgent.java
java -Dversion=${RELEASE_VERSION} -cp spotbugs-annotations-4.10.5.jar:junit-platform-console-standalone-1.14.4.jar:../api/build/libs/minio-${RELEASE_VERSION}-all.jar:. TestUserAgent

- name: Run tests on Windows
if: matrix.os == 'windows-latest'
run: |
cd functional
curl -sSfLO https://repo1.maven.org/maven2/org/junit/platform/junit-platform-console-standalone/1.14.4/junit-platform-console-standalone-1.14.4.jar
curl -sSfLO https://repo1.maven.org/maven2/com/github/spotbugs/spotbugs-annotations/4.10.4/spotbugs-annotations-4.10.4.jar
javac -encoding UTF-8 -cp "spotbugs-annotations-4.10.4.jar;junit-platform-console-standalone-1.14.4.jar;../api/build/libs/minio-$Env:DEV_VERSION-all.jar;../adminapi/build/libs/minio-admin-$Env:DEV_VERSION-all.jar;." FunctionalTest.java
java -cp "spotbugs-annotations-4.10.4.jar;junit-platform-console-standalone-1.14.4.jar;../api/build/libs/minio-$Env:DEV_VERSION-all.jar;../adminapi/build/libs/minio-admin-$Env:DEV_VERSION-all.jar;." FunctionalTest
curl -sSfLO https://repo1.maven.org/maven2/com/github/spotbugs/spotbugs-annotations/4.10.5/spotbugs-annotations-4.10.5.jar
javac -encoding UTF-8 -cp "spotbugs-annotations-4.10.5.jar;junit-platform-console-standalone-1.14.4.jar;../api/build/libs/minio-$Env:DEV_VERSION-all.jar;../adminapi/build/libs/minio-admin-$Env:DEV_VERSION-all.jar;." FunctionalTest.java
java -cp "spotbugs-annotations-4.10.5.jar;junit-platform-console-standalone-1.14.4.jar;../api/build/libs/minio-$Env:DEV_VERSION-all.jar;../adminapi/build/libs/minio-admin-$Env:DEV_VERSION-all.jar;." FunctionalTest
26 changes: 13 additions & 13 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
*/

/********************************/
/* gradleVersion = '9.7.1' */
/* gradleVersion = '9.8.2' */
/********************************/

plugins {
id 'com.gradleup.shadow' version '9.6.1'
id 'com.github.spotbugs' version '6.5.11'
id 'com.github.spotbugs' version '6.5.13'
id 'org.jreleaser' version '1.26.0'
id 'com.diffplug.spotless' version '8.10.2'
id 'com.diffplug.spotless' version '8.10.4'
}

/* Root project definitions */
Expand All @@ -47,18 +47,18 @@ subprojects {

dependencies {
api 'com.carrotsearch.thirdparty:simple-xml-safe:2.7.1'
api 'com.google.guava:guava:33.7.1-jre'
api 'com.squareup.okhttp3:okhttp:5.5.0'
api 'com.google.guava:guava:33.7.2-jre'
api 'com.squareup.okhttp3:okhttp:5.5.1'
api 'com.fasterxml.jackson.core:jackson-annotations:2.21'
api 'com.fasterxml.jackson.core:jackson-core:2.21.6'
api 'com.fasterxml.jackson.core:jackson-databind:2.21.6'
api 'org.bouncycastle:bcprov-jdk18on:1.85.2'
api 'com.fasterxml.jackson.core:jackson-core:2.21.8'
api 'com.fasterxml.jackson.core:jackson-databind:2.21.8'
api 'org.bouncycastle:bcprov-jdk18on:1.86'
api 'org.apache.commons:commons-compress:1.28.0'
api 'commons-codec:commons-codec:1.22.1'
api 'org.xerial.snappy:snappy-java:1.1.10.8'
compileOnly 'com.github.spotbugs:spotbugs-annotations:4.10.4'
api 'commons-codec:commons-codec:1.23.0'
api 'org.xerial.snappy:snappy-java:1.1.10.12'
compileOnly 'com.github.spotbugs:spotbugs-annotations:4.10.5'

testImplementation 'com.squareup.okhttp3:mockwebserver:5.5.0'
testImplementation 'com.squareup.okhttp3:mockwebserver:5.5.1'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.14.4'
}

Expand Down Expand Up @@ -269,7 +269,7 @@ project(':adminapi') {

dependencies {
api project(':api')
api 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.21.6'
api 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.21.8'
testImplementation project(':api')
}

Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-9.7.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-9.8.2-bin.zip
networkTimeout=10000
retries=0
retryBackOffMs=500
Expand Down
52 changes: 41 additions & 11 deletions gradlew.bat

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions spotbugs-filter.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,15 @@
<Match>
<Bug pattern="IAOM_DO_NOT_INCREASE_METHOD_ACCESSIBILITY"/>
</Match>
<!-- Existing public API: constructors delegate to non-final putAll/set/newUrlBuilder; making them final would break subclasses. -->
<Match>
<Bug pattern="MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR"/>
<Or>
<Class name="io.minio.Http$Headers"/>
<Class name="io.minio.Http$QueryParameters"/>
<Class name="io.minio.credentials.AssumeRoleProvider"/>
<Class name="io.minio.credentials.CertificateIdentityProvider"/>
<Class name="io.minio.credentials.LdapIdentityProvider"/>
</Or>
</Match>
</FindBugsFilter>
Loading