Open rougsig opened 1 year ago
Background To prevent eager task configuration for android, we need to know the list of output folders from generate proto task.
Changes Use GenerateProtoTaskSpec as the source of trust for agp plugin. Just replaced usage of GenerateProtoTask to GenerateProtoTaskSpec
GenerateProtoTaskSpec
GenerateProtoTask
Test plan Green pipelines. No eager task configuration for android plugin part. Special test case was added.
Note merge after https://github.com/google/protobuf-gradle-plugin/pull/669
In java part we still have eager tasks configuration, if project have idea or eclipse plugin
idea
eclipse
final fix for https://github.com/google/protobuf-gradle-plugin/issues/643
Do not forget to update readme.md files. Will be in extra PR 4/3
Background To prevent eager task configuration for android, we need to know the list of output folders from generate proto task.
Changes Use
GenerateProtoTaskSpec
as the source of trust for agp plugin. Just replaced usage ofGenerateProtoTask
toGenerateProtoTaskSpec
Test plan Green pipelines. No eager task configuration for android plugin part. Special test case was added.
Note merge after https://github.com/google/protobuf-gradle-plugin/pull/669
In java part we still have eager tasks configuration, if project have
idea
oreclipse
plugin