-
Notifications
You must be signed in to change notification settings - Fork 274
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make compileProtoPath variant selection criteria tighter (#489)
Add usage attribute to compileProtoPath, which is used to resolve dependencies inherited from compileOnly and implementation, for extracting included proto files. Setting attributes too loosely can lead to ambiguous variant selection errors as more than one variants of the dependency can be matched. Adding JAVA_RUNTIME usage attribute, which would select the same variant as by compileClasspath configuration.
- Loading branch information
Showing
1 changed file
with
18 additions
and
3 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