rules_jvm_external
rules_jvm_external copied to clipboard
Bazel rules to resolve, fetch and export Maven artifacts
Hi-Diddly-Ho, `rules_jvm_external` developers! We're seeing a build failure with Bazel version 5+ with a missing field in `JavaInfo`. Everything works fine with Bazel 4.2.1, the pinned version in this repo,...
When overriding a maven target with local `kt_jvm_export` bazel target, kotlin extensions failed to compile ``` exception: org.jetbrains.kotlin.backend.common.BackendException: Backend Internal error: Exception during code generation File being compiled: /Users/adinata/.cache/bazel/4bb02c6b1fe34f55b10507c9f23bccf7/execroot/brex/libraries/kotlin/core/src/kotlin/brex/query/PaginationModel.kt The...
@danielmachlab This is proof of concept of the license lookup indirection. I am not happy that we can't get a fallback repository. But, it could be done in setup, with...
As far as I understand, Bazel by default [provides an embedded JDK]( https://docs.bazel.build/versions/master/bazel-and-java.html#configuring-the-jdk) (or at least some rules to get it), so we don't have to have one locally. ```rules_jvm_external```...
This is an exploration of whether `bzlmod` could be used to replace the existing `rules_jvm_external` workspace rules. TL;DR: not yet, since there's no way to express complex types such as...
`strict_visibility` works by adding `//visibility:private` to transitive jar targets, so they can only be used by other jars and not other targets. `generate_compat_repositories` generates compatability repos for all jars regardless...
.bazelversion pins to 4.21 WORKSPACE pins to bazel-toolchains-4.1.0 ci selects 4.2.2 or 5.0.0 or latest. If you download from head and do `bazel test tests/...` you get warnings about bazel...
`rules_jvm_external` doesn't append the proper file extensions to the downloaded files which prevents direct consumption. This can be worked around by making a copy that has the correct file extension...
When the javadoc rule builds the classpath for generating documentation it includes the `JavaInfo.transitive_runtime_deps` of the dependency set. This causes a failure when there's a `neverlink = True` dependency in...
credentials should be kept in - files that are read-only to the current user or - in memory. The current design of `_maven_publish_impl` will generate a file with credentials in...