We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
GenerateProtoTask
protoc
If you set protoc by path rather than by artifact, the GenerateProtoTask does not consider that to be a task input. For example this buildscript:
path
artifact
val protocPath: String? = System.getenv("PROTOC_PATH") protobuf { protoc { path = protocPath } }
results in the following:
> PROTOC_PATH=proto-3.19.3/bin/protoc ./gradlew generateProto > Task :proj:generateProto > PROTOC_PATH=proto-3.20.1/bin/protoc ./gradlew generateProto > Task :proj:generateProto UP-TO-DATE
The same also holds true for plugins defined by a path instead of an artifact specification.
The text was updated successfully, but these errors were encountered:
Consider path definitions as task inputs
76a3569
See google#557.
a92e8eb
Add UP-TO-DATE tests for changing paths
53bba1f
This test should cover google#557.
Fixed by #560
Sorry, something went wrong.
No branches or pull requests
If you set
protoc
bypath
rather than byartifact
, theGenerateProtoTask
does not consider that to be a task input. For example this buildscript:results in the following:
The same also holds true for plugins defined by a path instead of an artifact specification.
The text was updated successfully, but these errors were encountered: