Skip to content

Commit

Permalink
chore(deps): update dependency rules_java to v8 (#179)
Browse files Browse the repository at this point in the history
* chore(deps): update dependency rules_java to v8

* Add required flag

See bazelbuild/rules_java#233

* Update .bazelrc

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Alex Eagle <alex@aspect.dev>
  • Loading branch information
renovate[bot] and alexeagle authored Oct 25, 2024
1 parent 2a00a7c commit fb0010b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions {{ .ProjectSnake }}/.bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ import %workspace%/.aspect/bazelrc/performance.bazelrc

### YOUR PROJECT SPECIFIC OPTIONS GO HERE ###

{{- if .Computed.java }}
# Required for rules_java prior to Bazel 8
# See https://github.com/bazelbuild/rules_java/issues/233#issuecomment-2418834258
common --experimental_rule_extension_api
{{ end }}

{{- if .Computed.javascript }}
# for speed, passes an argument `--skipLibCheck` to *every* spawn of tsc
common --@aspect_rules_ts//ts:skipLibCheck=always
Expand Down
2 changes: 1 addition & 1 deletion {{ .ProjectSnake }}/MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ bazel_dep(name = "aspect_rules_js", version = "2.1.0")
bazel_dep(name = "aspect_rules_ts", version = "3.2.1")
{{- end }}
{{- if .Computed.java }}
bazel_dep(name = "rules_java", version = "7.12.2")
bazel_dep(name = "rules_java", version = "8.2.0")
bazel_dep(name = "rules_jvm_external", version = "6.4")
{{- end }}
{{- if .Computed.python }}
Expand Down

0 comments on commit fb0010b

Please sign in to comment.