Commit Graph

47 Commits

Author SHA1 Message Date
Vladimir Sitnikov 6d6654ed3b chore: remove removeUnusedImports() rule
Validate Gradle Wrapper / Validation (push) Waiting to run Details
CI / Matrix Preparation (push) Waiting to run Details
CI / ${{ matrix.name }} (push) Blocked by required conditions Details
CI / Error Prone (JDK 17) (push) Waiting to run Details
Release Drafter / Update Release Draft (push) Waiting to run Details
removeUnusedImports causes issues with parsing newer Java, and
google-java-format requires --add-exports when running with Java 17+

We'd better use OpenRewrite for imports.
2025-07-21 20:18:45 +03:00
Mend Renovate 96ea3c0b02 fix(deps): update dependency jacoco to v0.8.12 2025-03-24 10:00:24 +03:00
Mend Renovate 55f15377a9 fix(deps): update org.checkerframework
Fixes https://github.com/apache/jmeter/pull/6209
2023-12-25 11:34:40 +03:00
Mend Renovate 99460c992f fix(deps): update com.google.errorprone to v2.24.0
Fixes https://github.com/apache/jmeter/pull/6208
2023-12-25 11:31:55 +03:00
Mend Renovate 2ae93c8dfc fix(deps): update dependency com.github.spotbugs:com.github.spotbugs.gradle.plugin to v6.0.4 2023-12-25 05:35:27 +03:00
Mend Renovate b3209293e3 fix(deps): update dependency spotbugs to v4.8.3 2023-12-14 20:26:29 +03:00
Mend Renovate 7942db8187 fix(deps): update dependency com.github.spotbugs:com.github.spotbugs.gradle.plugin to v6 2023-12-14 20:03:25 +03:00
Mend Renovate eeb45b8052 fix(deps): update org.checkerframework
Fixes https://github.com/apache/jmeter/pull/6183
2023-12-14 19:43:13 +03:00
Mend Renovate a6bc6574f2 fix(deps): update dependency checkstyle to v10.12.6
Fixes https://github.com/apache/jmeter/pull/6177
2023-12-14 19:15:13 +03:00
Mend Renovate 646a4060d3
fix(deps): update dependency com.github.spotbugs:com.github.spotbugs.gradle.plugin to v5.2.5 (#6167) 2023-12-04 08:03:03 +03:00
Mend Renovate 7a5ef78db8 fix(deps): update dependency org.sonarqube:org.sonarqube.gradle.plugin to v4.4.1.3373
Fixes https://github.com/apache/jmeter/pull/6151
2023-11-24 19:42:44 +03:00
Mend Renovate dc1c767165 fix(deps): update dependency com.github.spotbugs:com.github.spotbugs.gradle.plugin to v5.2.3
Fixes https://github.com/apache/jmeter/pull/6137
2023-11-24 19:26:21 +03:00
Mend Renovate 59afeed54e fix(deps): update org.checkerframework
Fixes https://github.com/apache/jmeter/pull/6144
2023-11-24 19:21:53 +03:00
Mend Renovate 5d8f11650f fix(deps): update dependency de.thetaphi.forbiddenapis:de.thetaphi.forbiddenapis.gradle.plugin to v3.6
Fixes https://github.com/apache/jmeter/pull/6136
2023-11-24 19:17:10 +03:00
Mend Renovate d9c32eb850 fix(deps): update com.google.errorprone to v2.23.0
Fixes https://github.com/apache/jmeter/pull/6148
2023-11-24 18:59:42 +03:00
Mend Renovate ccadefe53e fix(deps): update dependency spotbugs to v4.8.1 2023-11-24 18:08:50 +03:00
Mend Renovate e8fa76aabd chore(deps): update Gradle to v8.4
Fixes https://github.com/apache/jmeter/pull/6121
2023-11-24 15:44:43 +03:00
Mend Renovate fa227e48ba fix(deps): update dependency checkstyle to v10.12.5
Fixes https://github.com/apache/jmeter/pull/6116
2023-11-24 15:16:43 +03:00
Mend Renovate ff0c320a26 fix(deps): update dependency jacoco to v0.8.11 2023-11-24 15:00:13 +03:00
Tyler Bertrand 91d8aea7c4 Resolve checkstyle cache miss
Instead of the absolute path to checkstyle cacheFile which was causing a cache miss, use the relative path from configDir for cacheFile path
2023-09-06 04:14:02 +03:00
Mend Renovate 143ac9681a fix(deps): update org.checkerframework
Fixes https://github.com/apache/jmeter/pull/6023
2023-06-29 11:10:38 +03:00
Mend Renovate f55fd3a613 fix(deps): update com.google.errorprone to v2.20.0
Fixes https://github.com/apache/jmeter/pull/6020
2023-06-29 10:25:40 +03:00
Mend Renovate e636ecffed fix(deps): update dependency checkstyle to v10.12.1 2023-06-29 09:10:33 +03:00
Mend Renovate c9cb9add59 fix(deps): update com.github.vlsi to v1.90 2023-06-27 08:18:40 +03:00
Vladimir Sitnikov 1ee08f4e28 chore: use Gradle toolchains for JDK provisioning
It enables automatic JDK provisioning (e.g. download), and it enables
using different JDKs for executing Gradle and for building JMeter

Java version can be specified when building with -PjdkVersion=11

You could use ./gradlew -q javaToolchains to list the detected toolchains.

See https://docs.gradle.org/8.0/userguide/toolchains.html#sec:consuming

Fixes https://github.com/apache/jmeter/issues/5986
2023-06-24 18:49:05 +03:00
Vladimir Sitnikov 4e5b9df457 chore: bump vlsi-release-plugins to 1.89
It should reduce the number of created threads, and it should resolve
UnsupportedOperationException when filesystem contains inaccessible files.
2023-06-06 12:54:41 +03:00
Mend Renovate fc230f6a24
fix(deps): update dependency checkstyle to v10.11.0 (#5913) 2023-05-11 15:10:53 +03:00
Renovate Bot e8be4016d6 fix(deps): update dependency com.google.errorprone:error_prone_core to v2.19.1
ErrorProne brings StringCaseLocaleUsage verification that forbids the use of default locale

See https://errorprone.info/bugpattern/StringCaseLocaleUsage
Closes https://github.com/apache/jmeter/pull/5914
2023-05-11 13:30:42 +03:00
Mend Renovate 2a2d24621a
fix(deps): update org.checkerframework (#5887) 2023-05-11 11:49:46 +03:00
Vladimir Sitnikov 6a0de9b700 style: run "field can be static"
See https://errorprone.info/bugpattern/FieldCanBeStatic

# Conflicts:
#	build-logic/verification/src/main/kotlin/build-logic.errorprone.gradle.kts
2023-05-05 12:25:59 +03:00
Vladimir Sitnikov 049cc3a694 style: run "field may be final" inspection
See https://errorprone.info/bugpattern/FieldCanBeFinal
2023-05-05 12:25:59 +03:00
Vladimir Sitnikov 12aefb0c70 style: apply "private method can be static" inspection
See https://errorprone.info/bugpattern/MethodCanBeStatic
2023-05-05 12:25:56 +03:00
Vladimir Sitnikov 11466eab44 style: replace iterator with enhanced for loop 2023-05-04 13:37:09 +03:00
Vladimir Sitnikov 8b413c0e1e style: remove unnecessary default cases in enum switch
See https://errorprone.info/bugpattern/UnnecessaryDefaultInEnumSwitch
2023-05-04 13:37:09 +03:00
Vladimir Sitnikov 4a7057c994 style: remove redundant method overrides
The redundant overrides for clone are left intact
as they are needed for Sonar rule S2157 - "Cloneables" should implement "clone"
2023-05-04 13:37:09 +03:00
Vladimir Sitnikov 0b371e0de2 chore: execute ErrorProne verifications when running with Java 11+ compiler only
ErrorProne requires Java 11, so we can't execute it with Java 8 compiler.
2023-05-04 13:37:09 +03:00
Vladimir Sitnikov 5a993bf23b chore: remove use of deprecated Object#finalize 2023-05-04 13:37:09 +03:00
Vladimir Sitnikov df7c8bd15d chore: add explicit casts from long to double so data loss is visible in the source code
See https://errorprone.info/bugpattern/LongDoubleConversion
2023-05-04 13:37:09 +03:00
Vladimir Sitnikov f1d4844260 chore: fix condition for enableErrorprone so the verification is activated 2023-05-04 13:37:09 +03:00
Renovate Bot 0c34b9f082 fix(deps): update dependency org.jetbrains.gradle.plugin.idea-ext:org.jetbrains.gradle.plugin.idea-ext.gradle.plugin to v1
Fixes https://github.com/apache/jmeter/pull/5866
2023-04-29 11:50:05 +03:00
Mend Renovate 0739a2678e
fix(deps): update dependency org.checkerframework:checker to v3.33.0 (#5846) 2023-04-28 13:34:13 +03:00
Vladimir Sitnikov 873c188f25 fix(deps): update dependency com.github.spotbugs:com.github.spotbugs.gradle.plugin to v5.0.14
Closes https://github.com/apache/jmeter/pull/5829
See https://github.com/spotbugs/spotbugs-gradle-plugin/issues/888
2023-04-28 09:38:03 +03:00
Mend Renovate ea39208897
fix(deps): update dependency jacoco to v0.8.10 (#5827) 2023-04-27 21:04:17 +03:00
Mend Renovate da18ff51c5
fix(deps): update dependency de.thetaphi.forbiddenapis:de.thetaphi.forbiddenapis.gradle.plugin to v3.5.1 (#5826) 2023-04-27 20:21:53 +03:00
Mend Renovate d135e7e46c
fix(deps): update dependency checkstyle to v10.10.0 (#5825) 2023-04-27 20:21:34 +03:00
Mend Renovate 97a5cea3a3
fix(deps): update com.github.vlsi to v1.88 (#5824) 2023-04-27 19:52:26 +03:00
Vladimir Sitnikov a9ec76d067 chore: factor build-logic so it is easier to reuse
See https://docs.gradle.org/current/userguide/structuring_software_products.html
2023-04-27 14:26:05 +03:00