Skip to content

@zhangkun83 zhangkun83 released this Jul 11, 2019 · 9 commits to master since this release

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

Assets 2

@zhangkun83 zhangkun83 released this Jun 14, 2019 · 14 commits to master since this release

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

Assets 2

@zhangkun83 zhangkun83 released this Jan 16, 2019 · 21 commits to master since this release

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)
Assets 2

@zhangkun83 zhangkun83 released this Nov 8, 2018 · 30 commits to master since this release

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)
Assets 2

@zhangkun83 zhangkun83 released this Jun 26, 2018 · 39 commits to master since this release

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)
Assets 2

@zhangkun83 zhangkun83 released this Mar 7, 2018 · 50 commits to master since this release

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

Assets 2

@zpencer zpencer released this Feb 2, 2018

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)
Assets 2

@zpencer zpencer released this Aug 21, 2017 · 77 commits to master since this release

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)
Assets 2

@zhangkun83 zhangkun83 released this Jul 28, 2017 · 82 commits to master since this release

Major change:

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

Minor change:

  • Ensure reproducible output from generate task (#119)
Assets 2

@zhangkun83 zhangkun83 released this Feb 16, 2017 · 109 commits to master since this release

This is a bug-fix release. The protobuf dependency is now transitive (#116)

Assets 2
You can’t perform that action at this time.