Skip to content

Bump Gradle, Kotlin, and other major dependencies#186

Merged
alexander-yevsyukov merged 44 commits intomasterfrom
bump-validation-and-protodata
Mar 9, 2025
Merged

Bump Gradle, Kotlin, and other major dependencies#186
alexander-yevsyukov merged 44 commits intomasterfrom
bump-validation-and-protodata

Conversation

@alexander-yevsyukov
Copy link
Copy Markdown
Contributor

@alexander-yevsyukov alexander-yevsyukov commented Mar 6, 2025

This PR bumps Java version to 17, Gradle version to 8.13, and Kotlin to 2.1.10. Other dependencies were also updated via applying latest config.

Other notable changes

  • BuildSpeed submodule was updated to run on Java 17 and all new dependencies.
  • The Gradle extension function Project.configureTaskDependencies() was updated to take into account KSP tasks.
  • KotlinCompileTesting dependency migrated to [https://github.com/zacsweers/kotlin-compile-testing] because it's more frequently updated than [https://github.com/tschuchortdev/kotlin-compile-testing].

@alexander-yevsyukov alexander-yevsyukov self-assigned this Mar 6, 2025
@alexander-yevsyukov
Copy link
Copy Markdown
Contributor Author

@armiol, the current roadblock is in the class com.tschuchort.compiletesting.KotlinCompilation, which we use for testing.
The problem is at this line:

	var jvmDefault: String = JvmDefaultMode.DEFAULT.description

The enum JvmDefaultMode in the compiler with version 2.1.10 no longer contains the DEFAULT item.

KotlinCompilation was last updated for compiler 1.9.24 in May last year...

Probably, we'd need to fork.

@alexander-yevsyukov alexander-yevsyukov marked this pull request as ready for review March 9, 2025 17:40
@alexander-yevsyukov alexander-yevsyukov merged commit 060d798 into master Mar 9, 2025
7 checks passed
@alexander-yevsyukov alexander-yevsyukov deleted the bump-validation-and-protodata branch March 9, 2025 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants