Comments (3)
Yes, we should definitely restrict the visibility of unspecified artifacts. I'll mark this as a good first issue for anyone to take up if they want to give it a shot.
from rules_jvm_external.
This seems like a good idea in principle, but there are unfortunately some dependencies that seem to be specifically set up to bring in dependencies for you to directly reference. The Spring Boot starters would be a good example. It seems like a bad practice to me, but they get used pretty heavily. :( So, even if this gets done, I think there should be an option to turn it off.
from rules_jvm_external.
So, even if this gets done, I think there should be an option to turn it off.
I agree. It's also possible for the rule, or use bazel query
, to provide the flat list of artifacts that are actually used, so it's simple to switch to this behavior.
from rules_jvm_external.
Related Issues (20)
- Publish java_export target without sources jar HOT 2
- neverlink is not propagated to transitive runtime_deps
- How to publish SNAPSHOT version
- Using `java_export` rule with Bazel 7.0.0 requires declaration of `@@bazel_tools//tools/jdk:toolchain_type'` toolchain HOT 2
- Error: maven_install() got unexpected keyword argument: use_credentials_from_home_netrc_file
- Publish artifact without additional classifiers results in exception
- javadoc rule fails on switch expressions with lambda-style syntax HOT 1
- Turbine Exception in 5.x versions HOT 9
- Please release a new version HOT 3
- ERROR: no such target '//src/test:greeter_test_app': target 'greeter_test_app' not declared in package 'src/test' HOT 2
- generate_compat_repositories in maven module extension doesn't generate target names that provide "compat"-ibility with older repositories HOT 1
- `bazel run scripts:format` is broken
- Lock file differs between `bzlmod` and workspace-based runs HOT 2
- Align new attributes between workspace and bzlmod builds
- Release `rules_jvm_external` 6.0 HOT 10
- Provide support for resolving Maven BOMs
- Can't install maven dependencies with a top-level "build" directory on case-insensitive filesystems HOT 5
- [bzlmod] kt_jvm_export cannot resolve @io_bazel_rules_kotlin_configured
- With `bzlmod` if the root module and a dependency both specify a lock file, use the root module's HOT 3
- Use Bazel's JVM to run Coursier HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rules_jvm_external.