Skip to content

Comments

fix(deps): update dependency com.google.protobuf:protobuf-gradle-plugin to v0.9.6#3799

Open
renovate-bot wants to merge 1 commit intogoogleapis:masterfrom
renovate-bot:renovate/com.google.protobuf-protobuf-gradle-plugin-0.x
Open

fix(deps): update dependency com.google.protobuf:protobuf-gradle-plugin to v0.9.6#3799
renovate-bot wants to merge 1 commit intogoogleapis:masterfrom
renovate-bot:renovate/com.google.protobuf-protobuf-gradle-plugin-0.x

Conversation

@renovate-bot
Copy link
Contributor

@renovate-bot renovate-bot commented Mar 3, 2022

This PR contains the following updates:

Package Change Age Confidence
com.google.protobuf:protobuf-gradle-plugin 0.8.10.9.6 age confidence

Release Notes

google/protobuf-gradle-plugin (com.google.protobuf:protobuf-gradle-plugin)

v0.9.6

What's Changed

  • Inline deprecated constant value by @​tresat in #​779 . This removes a reference to a Gradle-internal API
  • Use ArchiveOperations instead of internal FileOperations, when available by @​ejona86 in #​780 . This avoids a reference to a Gradle-internal API on Gradle 6.6+
  • Replace usage of multi-string dependency notation in ToolsLocator which was deprecated in Gradle 9.1 by @​breskeby in #​786
  • Improve clarity of README.md about dependency types by @​hudlow in #​789

New Contributors

Full Changelog: google/protobuf-gradle-plugin@v0.9.5...v0.9.6

v0.9.5: is released

Fixed bugs

  • Clean output directory before extracting protos (#​735). This was then enhanced to sync instead of delete (#​772)
  • Revert work-around removal from #​719 and properly fix unexpected inputs to configuration cache (#​770)

Improvements

  • Allow the path of a java executable to be configured (#​750)
  • Change default output folder to Gradle best practices (generated/sources/proto; plural, not singular) (#​755)

Thanks to contributors

@​holgerstolzenberg
@​Vampire
@​wfhartford

v0.9.4: is released

  • Fix a bug that codegen plugins from system search path no longer works. (#​675)
  • Avoid duplicate GenerateProtoTask output dir. This causes tasks to fail if it depends on the output source and duplicationStrategy is set to DuplicatesStrategy.FAIL. (#​718)
  • Avoid eagerly resolving input files in ProtobufExtract. This bug would cause a lot of invalidations of configuration cache when upgrading to Gradle 8.1. (#​719)
  • Fix plugin compatibility with Kotlin Gradle Plugin 1.9.0 release. (#​721)

v0.9.3: is released

  • Fix "KotlinCompile is not a subclass of the given type org.gradle.api.tasks.SourceTask" regression in 0.9.2 (#​657)
  • Fix configuration cache incompatibility with Gradle 8.1 with GenerateProtoTask.getIsTest() in the stack trace (#​692)
  • Avoid eager reading of buildDir (#​678). buildDir reading is now delayed until task configuration, so care is still needed if you modify buildDir.
  • Upgrade osdetector-gradle-plugin to 1.7.3. This adds detection for loongarch64 and avoids calling Provider.forUseAtConfigurationTime() for Gradle >= 7.4

v0.9.2: is released

Compare Source

Fixed bugs

  • Avoid circular dependencies with other plugins by manually plumbing the test dependency on main instead of using the compile classpath (#​631). Fixes #​624, a regression introduced in 0.9.0
  • Emulate and deprecate generatedFilesBaseDir (#​636). generatedFilesBaseDir no longer changes the output directory directly. Instead, the default directory is always used and files are copied to generatedFilesBaseDir. This allows the task to delete previous output before generating new output. Users of generatedFilesBaseDir should stop using the configuration and instead use a separate Copy or Sync task. Fixes #​33 where generated code of old builds remains, for users not using generatedFilesBaseDir
  • Set default command length limit to 64k (#​653). Fixes argument list too long on Mac OS (#​633)

v0.9.1: is released

Fixed bugs

  • Fixed a regression from 0.8.x where the proto source set filters were not being applied, causing non-.proto files to be passed to protoc (#​621). This fixes errors of the form No syntax specified for the proto file: where the file listed is not a .proto file.

v0.9.0: is released

Fixed bugs

  • Workaround provider bug in Gradle when excluding tasks (#​576). Errors were of the form Querying the mapped value of provider(interface java.util.Set) before task ':project:processResources' has completed is not supported

Improvements

  • Improved Kotlin accessor support for Android Gradle Plugin 7.x, which uses a different SourceSet class (#​565, fixes #​540)
  • Migrated project.protobuf from a convention to an extension (#​577). This greatly improves the Kotlin experience, as fewer imports are necessary. On upgrade, kts users will need to remove any now-unnecessary imports from their scripts
  • Significantly improve support for task configuration avoidance. README.md has not yet been updated to encourage using configureEach instead of each within generateProtoTasks {}, but it is beneficial as long as you are not using any IDE plugins
  • Added generated code to java SourceSet instead of only adding it to JavaCompile and related tasks. This should cause tasks like sourcesJar and javadoc to now include the generated code. You may need to exclude the generated code from linters
  • Added Eclipse and VSCode support (#​590). They should no longer have trouble finding generated code
  • Removed references to unused Gradle-internal FileResolver (#​595)
  • Removed usage of deprecated GUtil (#​604)
  • Removed dependency on Apache commons-lang (#​606)
  • Removed dependency on Guava (#​609)
  • Upgraded osdetector-gradle-plugin to 1.7.1
  • Substantial internal modernization. This should not impact most users, but there is risk of a regression or observing timing differences.

Thanks to contributors

v0.8.19: is released

The coordinates of the plugin have changed (inadvertently, same as in gradle/plugin-portal-requests#124). If you are not using the plugin DSL, then you will need to change the dependency classpath from gradle.plugin.com.google.protobuf:protobuf-gradle-plugin to com.google.protobuf:protobuf-gradle-plugin when upgrading. I hope that's the only issue. I would fix it with another release, but it seems this is how Gradle wants it, because plugin-publish is removing an override.

Fixed bugs

  • Fixed issue that would warn of #​248 with Android, even when it didn't make sense (#​542). The plugin itself was at fault
  • Fixed path-based protoc/plugin binaries to be considered for out-of-date checking (#​560)

Improvements

  • Avoid eager task loading (#​544). This reduces the Gradle configuration time
  • Ignore protoc/plugin artifact classifier for out-of-date checks (#​560). This allows the Gradle cache to share results between platforms

Thanks to contributors

v0.8.18: is released

Fixed bugs

  • Restrict getOutputSourceDirectorySet() to directories only (#​533). This fixes build failures for certain configurations when outputPath is a zip/jar

Improvements

  • Ignore empty directories for sources (#​530). This is in preparation for Gradle 8 which will stop implicitly skipping the task when all directories are empty
  • Clean up Kotlin integration using newer Gradle integration (#​531). Does not change minimum Gradle version supported

Thanks to contributors

v0.8.17: is released

Fixed bugs

  • Fix configuration caching violation when generating jar plugin trampoline script by using saved ProjectLayout to get build directory in GenerateProtoTask (#​509)

Improvements

  • Make IDEA support work out of the box with lazy lookup of the IDEA plugin (#​506)

Thanks to contributors

v0.8.16: is released

Fixed bugs

  • Make compileProtoPath variant selection criteria tighter by adding JAVA_RUNTIME usage attribute. Without this, dependency resolution may result in ambiguous variant selection error if the dependency exposes variants with different usages (#​489)
  • Add explicit DuplicatesStrategy as required by Gradle 7+ (#​487)

Improvements

  • Mark generated code as "generated" folder in IDEA, so that users will get warned if they try to edit those files (#​477)
  • Support outputting generated code directly into JAR/ZIP (#​480)

Thanks to contributors

v0.8.15: is released

Fixed bugs

  • Added missing proto{} Kotlin DSL for Android builds configuring proto source directory (#​443).

Improvements

  • Undeclared configuration-time system property or file reads have been eliminated, this plugin is fully compliant with Gradle configuration caching (#​467).
  • Avoid running ProtobufExtract tasks if unrelated files change (#​452).

Thanks to contributors

v0.8.14: is released

Fixed bugs

  • Link only generated Java and Kotlin to compilation task by default (#​375). Fixes the issue in projects with no Java/Kotlin code (with Java plugin applied, maybe implicitly, such as the Scala plugin) that compileJava task is triggered with "no source files" error.
  • Support packaging and extracting protos in Android aar (#​440, #​443). Functionalities of importing protos from Android AAR dependencies is broken in the previous release. It is fixed now.
  • Avoid storing variantName property in the task (#​448). Fixes the issue of internal warning being triggered by Gradle's configuration caching trying to serialize properties in GenerateProtoTask.

Thanks to contributors

v0.8.13: is released

New features

  • This plugin now partially supports Gradle configuration cache (requires Gradle 6.6+). It works to some extent, but there are still problems. (#​406, #​408, #​413)
  • Added support for using JAR protoc plugins. (#​423)

Fixed bugs

  • Fixed the breakage for setting DescriptorSetOptions.path with a string literal in Kotlin DSL. (#​394)

Improvements

  • Improved support for Android library projects by packaging proto files into Android archives (.aar). (#​414)
    • Update: this is still broken in 0.8.13 release, the next release should fix it.

Thanks to contributors

v0.8.12: is released

Fixed bugs

  • Always include extract protos in compiled archive. (#​389) Previously processResourcesTask runs in parallel with extractProtoTasks, which would potentially lead to Jars without including protos from dependencies.

Improvements

Thanks to contributors

v0.8.11: is released

Compatibility changes

  • The plugin now requires Gradle 5.6+ (corresponding Android plugin version is 3.5.0+ if using for Android).

Fixed bugs

  • Fixed issue of consumer projects not being able to extract proto files from implementation dependencies that use java-library plugin. (#​366)

Dependencies

  • Bumped osdetector plugin version to 1.6.2.
  • Bumped Guava version to 27.0.1-jre.

Improvements

  • Support protobuf plugins with artifacts that have no extension. (#​335)
  • The plugin now is able to work with Gradle 6.0. (#​364, #​365)

Documentation

  • Updated documentation for using protobuf javalite code generation option for protobuf version after 3.8.0. (#​323)

Thanks to contributors

v0.8.10: is released

Fixed #​295 ("WARNING: API 'variant.getJavaCompile()' is obsolete" with Android plugin) for real.

v0.8.9: is released

Fixed bugs:

  • Make generateProtoTask resolve file/directory lazily to allow including build time proto (#​317, resolves #​313)

Minor changes:

  • Recommend files() instead of fileTree() in protobuf dependency (#​294)
  • Use Relative Sensitivity for GenerateProtoTask, use name only sensitivity for classpath. (#​293)

Thanks to contributors

v0.8.8: 0.8.8 now released

This release includes a few fixes and resolved the breakage with Gradle 5.0+ and Android Plugin 2.5+. The oldest supported Gradle version is now raised to 3.0. Below is the comprehensive list of changes:

  • Update to stable Kotlin DSL 1.0.4 (included in Gradle 5.0) (#​275 @​marcoferrer)
  • Fix support with Gradle 5.x/Android 2.5+; add Gradle 5.1 and drop Gradle 3.0 in tests. (#​287)
  • Refactor GenerateProtoTask's inputs (#​291)
  • Use new public API to create SourceDirectorySet available since Gradle 5.0 (#​292)

v0.8.7: 0.8.7 released

Compatibility change

The plugin now requires at least Java 8 to work.

New features

  • The protobuf configuration now supports extracting protos from *.tgz files (#​266)
  • A cleaner Kotlin DSL (#​262). Check out the example project.
  • You can now reference protoc plugins without defining it. It will make protoc to search the plugin in system search paths. (#​270)

v0.8.6: 0.8.6 has been released

Fixed issues

  • Moved away from using android private API: variant.variantData (#​235). This made the plugin able to work with Android Studio 3.2.0-beta1.
  • Detect Android project in a more reliable way (#​237)
  • Fixed an issue that generated unit test source files were not being picked up by Android Studio (#​229)

Improvements

  • Easier to debug android build issues (#​233)

v0.8.5: 0.8.5 released

Fixed the bug (#​212) introduced in 0.8.4 that build would fail if current directory or any proto source path contain space(s).

v0.8.4: 0.8.4 released

Major changes:

  • Add com.android.feature to the set of supported plugins (#​192)
  • Make IntelliJ aware of *.proto and generated *.java files (#​193), #​198)
  • Support for Kotlin (#​196, #​208) and Kotlin Android (#​201)
  • Support for Android local unit tests (#​209)

Minor changes:

  • Fix Gradle warning related to TaskInput.file API (#​172)
  • Avoid calling protoc with too many arguments (mainly affecting Windows) (#​174)

v0.8.3: 0.8.3 released

Major change:

  • Dependencies can now be expressed as a tuple of (group, name, version, classifier, ext) eg com.example:example-plugin:0.0.0-rc0+experimental (#​31)

v0.8.2: 0.8.2 released

Major change:

  • Add support for Android Gradle Plugin 2.5 (#​121)

Minor change:

  • Ensure reproducible output from generate task (#​119)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@trusted-contributions-gcf trusted-contributions-gcf bot added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Mar 3, 2022
@renovate-bot renovate-bot changed the title chore(deps): update dependency com.google.protobuf:protobuf-gradle-plugin to v0.8.18 chore(deps): update dependency com.google.protobuf:protobuf-gradle-plugin to v0.8.19 Jun 29, 2022
@renovate-bot renovate-bot force-pushed the renovate/com.google.protobuf-protobuf-gradle-plugin-0.x branch from 7745d8d to 5b23b27 Compare June 29, 2022 18:23
@renovate-bot renovate-bot changed the title chore(deps): update dependency com.google.protobuf:protobuf-gradle-plugin to v0.8.19 fix(deps): update dependency com.google.protobuf:protobuf-gradle-plugin to v0.8.19 Jul 25, 2022
@renovate-bot renovate-bot changed the title fix(deps): update dependency com.google.protobuf:protobuf-gradle-plugin to v0.8.19 fix(deps): update dependency com.google.protobuf:protobuf-gradle-plugin to v0.9.0 Oct 6, 2022
@renovate-bot renovate-bot force-pushed the renovate/com.google.protobuf-protobuf-gradle-plugin-0.x branch from 5b23b27 to 33cb39a Compare October 6, 2022 19:46
@renovate-bot renovate-bot requested a review from a team October 6, 2022 19:46
@renovate-bot renovate-bot force-pushed the renovate/com.google.protobuf-protobuf-gradle-plugin-0.x branch from 33cb39a to 8d20a22 Compare October 8, 2022 15:23
@renovate-bot renovate-bot changed the title fix(deps): update dependency com.google.protobuf:protobuf-gradle-plugin to v0.9.0 fix(deps): update dependency com.google.protobuf:protobuf-gradle-plugin to v0.9.1 Oct 8, 2022
@renovate-bot renovate-bot changed the title fix(deps): update dependency com.google.protobuf:protobuf-gradle-plugin to v0.9.1 fix(deps): update dependency com.google.protobuf:protobuf-gradle-plugin to v0.9.2 Jan 10, 2023
@renovate-bot renovate-bot force-pushed the renovate/com.google.protobuf-protobuf-gradle-plugin-0.x branch from 8d20a22 to e42179c Compare January 10, 2023 03:20
@renovate-bot renovate-bot force-pushed the renovate/com.google.protobuf-protobuf-gradle-plugin-0.x branch from e42179c to 6d3009f Compare April 26, 2023 22:55
@renovate-bot renovate-bot requested a review from a team as a code owner April 26, 2023 22:55
@renovate-bot renovate-bot changed the title fix(deps): update dependency com.google.protobuf:protobuf-gradle-plugin to v0.9.2 fix(deps): update dependency com.google.protobuf:protobuf-gradle-plugin to v0.9.3 Apr 26, 2023
@renovate-bot renovate-bot changed the title fix(deps): update dependency com.google.protobuf:protobuf-gradle-plugin to v0.9.3 fix(deps): update dependency com.google.protobuf:protobuf-gradle-plugin to v0.9.4 Jul 14, 2023
@renovate-bot renovate-bot force-pushed the renovate/com.google.protobuf-protobuf-gradle-plugin-0.x branch from 6d3009f to 3368651 Compare July 14, 2023 19:55
@renovate-bot renovate-bot force-pushed the renovate/com.google.protobuf-protobuf-gradle-plugin-0.x branch from 3368651 to 02ff687 Compare March 31, 2025 23:44
@renovate-bot renovate-bot changed the title fix(deps): update dependency com.google.protobuf:protobuf-gradle-plugin to v0.9.4 fix(deps): update dependency com.google.protobuf:protobuf-gradle-plugin to v0.9.5 Apr 1, 2025
@renovate-bot renovate-bot force-pushed the renovate/com.google.protobuf-protobuf-gradle-plugin-0.x branch from 02ff687 to e4a127e Compare August 10, 2025 12:42
@renovate-bot renovate-bot force-pushed the renovate/com.google.protobuf-protobuf-gradle-plugin-0.x branch from e4a127e to 4a742e1 Compare September 8, 2025 14:58
@renovate-bot renovate-bot force-pushed the renovate/com.google.protobuf-protobuf-gradle-plugin-0.x branch from 4a742e1 to 5dbbf1a Compare October 9, 2025 09:57
@renovate-bot renovate-bot force-pushed the renovate/com.google.protobuf-protobuf-gradle-plugin-0.x branch from 5dbbf1a to b49a150 Compare October 21, 2025 22:15
@renovate-bot renovate-bot force-pushed the renovate/com.google.protobuf-protobuf-gradle-plugin-0.x branch from b49a150 to ac554cf Compare November 10, 2025 18:07
@renovate-bot renovate-bot force-pushed the renovate/com.google.protobuf-protobuf-gradle-plugin-0.x branch from ac554cf to dace5da Compare November 18, 2025 22:43
@renovate-bot renovate-bot force-pushed the renovate/com.google.protobuf-protobuf-gradle-plugin-0.x branch from dace5da to e374272 Compare December 17, 2025 04:38
@renovate-bot renovate-bot changed the title fix(deps): update dependency com.google.protobuf:protobuf-gradle-plugin to v0.9.5 fix(deps): update dependency com.google.protobuf:protobuf-gradle-plugin to v0.9.6 Dec 17, 2025
@renovate-bot renovate-bot force-pushed the renovate/com.google.protobuf-protobuf-gradle-plugin-0.x branch from e374272 to 5d8a043 Compare December 30, 2025 14:50
@renovate-bot renovate-bot force-pushed the renovate/com.google.protobuf-protobuf-gradle-plugin-0.x branch from 5d8a043 to 04f1d1e Compare January 19, 2026 19:09
@renovate-bot renovate-bot force-pushed the renovate/com.google.protobuf-protobuf-gradle-plugin-0.x branch from 04f1d1e to 4975eca Compare February 2, 2026 21:38
@renovate-bot renovate-bot force-pushed the renovate/com.google.protobuf-protobuf-gradle-plugin-0.x branch from 4975eca to c0ab184 Compare February 12, 2026 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kokoro:force-run Add this label to force Kokoro to re-run the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant