Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency com.google.protobuf:protobuf-gradle-plugin to v0.9.4 #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Aug 30, 2021

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.google.protobuf:protobuf-gradle-plugin 0.8.6 -> 0.9.4 age adoption passing confidence

Release Notes

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

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 https://github.com/gradle/plugin-portal-requests/issues/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

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)

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 has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot requested a review from Hungon August 30, 2021 08:19
@renovate renovate bot force-pushed the renovate/com.google.protobuf-protobuf-gradle-plugin-0.x branch from a944600 to f34c69d Compare March 7, 2022 09:11
@renovate renovate bot changed the title Update dependency com.google.protobuf:protobuf-gradle-plugin to v0.8.17 Update dependency com.google.protobuf:protobuf-gradle-plugin to v0.8.18 Mar 7, 2022
@renovate renovate bot force-pushed the renovate/com.google.protobuf-protobuf-gradle-plugin-0.x branch from f34c69d to c806cf2 Compare September 25, 2022 16:21
@renovate renovate bot changed the title Update dependency com.google.protobuf:protobuf-gradle-plugin to v0.8.18 Update dependency com.google.protobuf:protobuf-gradle-plugin to v0.8.19 Sep 25, 2022
@renovate renovate bot force-pushed the renovate/com.google.protobuf-protobuf-gradle-plugin-0.x branch from c806cf2 to b7a1629 Compare November 20, 2022 17:32
@renovate renovate bot changed the title Update dependency com.google.protobuf:protobuf-gradle-plugin to v0.8.19 Update dependency com.google.protobuf:protobuf-gradle-plugin to v0.9.1 Nov 20, 2022
@renovate renovate bot force-pushed the renovate/com.google.protobuf-protobuf-gradle-plugin-0.x branch from b7a1629 to 4ee4c7f Compare March 17, 2023 01:45
@renovate renovate bot changed the title Update dependency com.google.protobuf:protobuf-gradle-plugin to v0.9.1 Update dependency com.google.protobuf:protobuf-gradle-plugin to v0.9.2 Mar 17, 2023
@renovate renovate bot changed the title Update dependency com.google.protobuf:protobuf-gradle-plugin to v0.9.2 Update dependency com.google.protobuf:protobuf-gradle-plugin to v0.9.3 Jun 1, 2023
@renovate renovate bot changed the title Update dependency com.google.protobuf:protobuf-gradle-plugin to v0.9.3 Update dependency com.google.protobuf:protobuf-gradle-plugin to v0.9.4 Jul 15, 2023
@renovate renovate bot force-pushed the renovate/com.google.protobuf-protobuf-gradle-plugin-0.x branch from 65e531f to 95fc712 Compare July 15, 2023 02:48
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.

None yet

0 participants