forked from google/protobuf-gradle-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore OS as an input to
GenerateProtoTask
This change will remove the OS from the input properties of the GenerateProtoTask when `protoc` or a plugin is defined as a resolvable artifact. The expectation is that same versions of `protoc` or plugins will produce same outputs regardless of the OS on which they are run. This is done by creating marking `alternativePaths` as Internal for backwards compatibility and creating two new properties: `releaseArtifacts` and `snapshotArtifacts`. `releaseArtifacts` will contain "$groupId:$artifact:$version" for each non-snapshot dependency, effectively ignoring OS for these dependencies. `snapshotArtifacts` will contain each snapshot artifact in a `FileCollection` since the snapshots cannot be matched solely by their maven coordinates. See google#457.
- Loading branch information
Showing
2 changed files
with
46 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters