Skip to content

Commit

Permalink
Testing
Browse files Browse the repository at this point in the history
  • Loading branch information
pjreiniger committed Dec 29, 2023
1 parent 285ec71 commit 593ee12
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module(
name = "rules_bzlmodrio_jdk",
version = "17.0.8+7",
version = "17.0.8-7",
compatibility_level = 2024,
)

Expand Down
4 changes: 3 additions & 1 deletion generate/get_toolchain_dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,11 @@ def __init__(
self.jdk_version = jdk_version
self.escaped_version = escaped_version
self.underscore_version = underscore_version
self.jre_version = jre_version
self.version = jdk_version
self.sanitized_version = jdk_version
self.sanitized_version = self.version.replace("+", "-")
self.patch = ""
self.year = "2024"

platforms = []

Expand Down
6 changes: 3 additions & 3 deletions generate/templates/MODULE.bazel.jinja2
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module(
name = "rules_bzlmodrio_jdk",
version = "{{group.jdk_version}}",
compatibility_level = 2024,
name = "{{group.repo_name}}",
version = "{{group.sanitized_version}}{{group.patch}}",
compatibility_level = {{group.year}},
)

{{bazel_dependencies.platforms.module_dep()}}
Expand Down

0 comments on commit 593ee12

Please sign in to comment.