rules_jvm
rules_jvm copied to clipboard
Contributed Bazel rules that make working with java projects more pleasant
Welcome to [Renovate](https://redirect.github.com/renovatebot/renovate)! This is an onboarding PR to help you understand and configure settings before regular Pull Requests begin. 🚦 To activate Renovate, merge this Pull Request. To disable...
Once we move to `bzlmod`, dependencies declared in `maven` will be added to all projects that depend on `contrib_rules_jvm`. That shouldn't be necessary, since the only time we use `@maven`...
This commit introduces `include_engines` and `exclude_engines` arguments on `java_test_suite` and `java_junit5_test` which can be used to configure which engines should be used. It replaces the previously hard-coded list of engines...
So from what I can tell unless your package begins with a common domain `(".com.", ".org.", ".net.", ".io.", ".ai.")` it won't correctly load the class file. So for example if...
Hello I tried building the Gazelle java extension on Ubuntu 22.04 using the following: **WORKSPACE:** ``` ("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "io_bazel_rules_go", sha256 = "16e9fca53ed6bd4ff4ad76facc9b7b651a89db1689a2877d6fd7b82aa824e366", urls = [ "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.34.0/rules_go-v0.34.0.zip", "https://github.com/bazelbuild/rules_go/releases/download/v0.34.0/rules_go-v0.34.0.zip",...
Add functionality to find and process a fully qualified static method call. This may be a reference to a package/class which does not exist anywhere else, so make sure to...
This allows for registering that, e.g. ```java @RequiresNetwork class SomeTest {} ``` should be generated as: ```starlark requires_network( java_test, ... ) ``` instead of: ```starlark java_test( ... ) ``` In...
We have large build targets (one for each top level directory) in https://github.com/harness/harness-core. When I run gazelle - I have to deal (manually fix) with a bunch of cyclic dependencies....
It was already asked [upstream](https://github.com/facebook/infer/issues/457).
Currently we are doing this outside of the build, e.g. with this alias: ``` $ alias gjf alias gjf='git show --diff-filter=AMR --pretty="" --name-only HEAD | grep java$ | xargs -r...