forked from facebook/buck
-
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.
java_library: provide a way to specify non transitive dependencies
Add compile_deps parameter to java_library function to specify the non transitive depencies. Because of the way how dependency graph is implemented the deps parameter must be still list all dependencies, also the non transitive: java_binary( name = 'plugin', manifest_file = 'resources/MANIFEST.MF', deps = ['//:plugin-library'], ) java_library( name = 'plugin-library', srcs = glob(...), deps = ['//lib:plugin-api'], compile_deps = ['//lib:plugin-api'], ) JAR file plugin.jar doesn't include the content of plugin-api.
- Loading branch information
Showing
5 changed files
with
88 additions
and
5 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
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
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