You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: Upgrade Gradle to v9, upgrade other plugins (#2158)
### 📝 Description
Ahead of the Spring/Spring Boot upgrade, we need to move to a version of
Gradle that supports Java 25.
To that end, this PR upgrades to Gradle from v8.8 to v9.4.0, which is
the latest version of Gradle:
https://docs.gradle.org/current/userguide/compatibility.html
As part of this, we also need to upgrade the Gradle plugins.
#### Changes
| Component | Old Version | New Version | Release Notes |
|---|---|---|---|
| Detekt | `1.23.7` | `2.0.0-alpha.2` | [detekt v2
changelog](https://detekt.dev/changelog-2.0.0) |
| Ktlint Gradle Plugin | `12.1.2` | `14.2.0` | [ktlint-gradle
releases](https://github.com/JLLeitschuh/ktlint-gradle/releases) |
| Maven Plugin Development Plugin | `0.4.3` | `1.0.2` |
[maven-plugin-development
releases](https://github.com/gradlex-org/maven-plugin-development/releases)
|
#### Plugin ID / Coordinate Migration
- Detekt plugin ID: `io.gitlab.arturbosch.detekt` -> `dev.detekt`
- Detekt plugin dependency:
`io.gitlab.arturbosch.detekt:detekt-gradle-plugin` ->
`dev.detekt:detekt-gradle-plugin`
- Maven plugin development ID:
`de.benediktritter.maven-plugin-development` ->
`org.gradlex.maven-plugin-development`
#### Detekt Config Migration
- Removed legacy `build.weights.comments`.
- Renamed deprecated/invalid keys to Detekt 2 equivalents:
- `CommentOverPrivateFunction` -> `DocumentationOverPrivateFunction`
- `LongParameterList.functionThreshold` ->
`LongParameterList.allowedFunctionParameters`
- `TooManyFunctions.thresholdInInterfaces` ->
`TooManyFunctions.allowedFunctionsPerInterface`
- `TooManyFunctions.thresholdInClasses` ->
`TooManyFunctions.allowedFunctionsPerClass`
- `TooManyFunctions.thresholdInFiles` ->
`TooManyFunctions.allowedFunctionsPerFile`
- `ComplexInterface.threshold` -> `ComplexInterface.allowedDefinitions`
- `FunctionMaxLength` -> `FunctionNameMaxLength`
### 🔗 Related Issues
---------
Co-authored-by: Jordan Lopez <jordlopez@expediagroup.com>
Copy file name to clipboardExpand all lines: executions/graphql-kotlin-dataloader-instrumentation/src/test/kotlin/com/expediagroup/graphql/dataloader/instrumentation/syncexhaustion/GraphQLSyncExecutionExhaustedDataLoaderDispatcherTest.kt
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -145,7 +145,9 @@ class GraphQLSyncExecutionExhaustedDataLoaderDispatcherTest {
0 commit comments