Emulate and deprecate generatedFilesBaseDir#636
Merged
Conversation
Fixes google#33 for users not changing generatedFilesBaseDir. Stop documenting generatedFilesBaseDir since it produces poor results, but keep it functional with its existing Copy semantics. Fixes google#332
rougsig
reviewed
Nov 5, 2022
rougsig
reviewed
Nov 6, 2022
Can't reference project from action
I don't know how to make this trigger a warning, for either Groovy and Kotlin. Both seem to ignore it.
YifeiZhuang
approved these changes
Nov 7, 2022
This fixes `class java.lang.Object cannot be cast to class com.google.protobuf.gradle.ProtobufPlugin` in "testProjectAndroid succeeds with configuration cache". The configuration cache is somehow confusing things, including defeating static typing. Redefining the variable locally avoids the reference to ProtobufPlugin.
rougsig
reviewed
Nov 7, 2022
Closed
rougsig
approved these changes
Jan 5, 2023
6 tasks
ikhoon
added a commit
to line/armeria
that referenced
this pull request
Nov 19, 2025
Motivation: Upgrading Gradle version to 9 is necessary to build and test Armeria on Java 25. References: - https://docs.gradle.org/current/userguide/compatibility.html - [Migration guide for Gradle 9](https://docs.gradle.org/current/userguide/upgrading_major_version_9.html) Modifications: - Upgraded dependencies required for Gradle 9 - Gradle 8.10.2 -> 9.2.0 - JKube pluign 1.18.1 -> 1.18.2 - Kotlin (plugin) 2.1.10 -> 2.2.21 - Spring Boot (plugin) 3.5.4 -> 3.5.7 - ktlint-gradle-plugin 13.0.0 -> 13.1.0 - protobuf-gradle-plugin 0.8.19 -> 0.9.5 - scalafmt-gradle-plugin 1.16.2 -> 1.21.5 - The plugin id has been migrated to `cz.augi.gradle.scalafmt` as the original plugin is no longer maintained. - shadow-gradle-plugin 7.1.2 -> 8.3.9 - The plugin id has been migrated to `com.gradleup.shadow:com.gradleup.shadow.gradle.plugin` as maintenance is tranferred to Gradleup. GradleUp/shadow#908 - protbuf files are now generated to the default output directory (`build/generated/sources/proto`). - `generatedFilesBaseDir` is no longer supported since 0.9.2 google/protobuf-gradle-plugin#636 - Fixed all the warnings produced in Gradle 8. - Removed `it/spring/boot2-tomcat8` tests: - Spring Boot no longer supports Tomcat 8. - Tests didn't run due to misconfigured configurations. - Revived `it/thrift0.9.1` test which didn't run before because of incorrect source location. Result: Armeria can now be built with Gradle 9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #33 for users not changing generatedFilesBaseDir. Stop documenting generatedFilesBaseDir since it produces poor results, but keep it functional with its existing Copy semantics. Fixes #332