-
Notifications
You must be signed in to change notification settings - Fork 340
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release: https://github.com/fmeum/rules_jni/releases/tag/v0.10.3 _Automated by [Publish to BCR](https://github.com/apps/publish-to-bcr)_ --------- Co-authored-by: publish-to-bcr-bot <112732530+publish-to-bcr-bot[bot]@users.noreply.github.com> Co-authored-by: Fabian Meumertzheim <[email protected]>
- Loading branch information
1 parent
50df8d8
commit f796e9b
Showing
5 changed files
with
82 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
module( | ||
name = "rules_jni", | ||
version = "0.10.3", | ||
compatibility_level = 1, | ||
) | ||
|
||
bazel_dep(name = "bazel_skylib", version = "1.6.1") | ||
bazel_dep(name = "platforms", version = "0.0.5") | ||
bazel_dep(name = "rules_cc", version = "0.0.17") | ||
bazel_dep(name = "rules_license", version = "0.0.7") | ||
|
||
download_jdk_deps = use_extension( | ||
"@rules_jni//jni/private/extensions:download_jdk_deps.bzl", | ||
"download_jdk_deps", | ||
) | ||
use_repo( | ||
download_jdk_deps, | ||
"com_github_openjdk_jdk_jni_h", | ||
"com_github_openjdk_jdk_license", | ||
"com_github_openjdk_jdk_unix_jni_md_h", | ||
"com_github_openjdk_jdk_windows_jni_md_h", | ||
) | ||
|
||
bazel_dep(name = "rules_jvm_external", version = "6.1", dev_dependency = True) | ||
bazel_dep(name = "stardoc", version = "0.7.1", dev_dependency = True) |
12 changes: 12 additions & 0 deletions
12
modules/rules_jni/0.10.3/patches/module_dot_bazel_version.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
=================================================================== | ||
--- a/MODULE.bazel | ||
+++ b/MODULE.bazel | ||
@@ -1,7 +1,7 @@ | ||
module( | ||
name = "rules_jni", | ||
- version = "0.0.0", | ||
+ version = "0.10.3", | ||
compatibility_level = 1, | ||
) | ||
|
||
bazel_dep(name = "bazel_skylib", version = "1.6.1") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
matrix: | ||
bazel: [6.x, 7.x, 8.0.0rc4] | ||
platform: ["centos7", "debian10", "macos", "ubuntu2004", "windows"] | ||
|
||
tasks: | ||
build_targets: | ||
name: "Build targets under //jni" | ||
bazel: ${{ bazel }} | ||
platform: ${{ platform }} | ||
build_targets: | ||
- "@rules_jni//jni/..." | ||
|
||
bcr_test_module: | ||
module_path: "tests" | ||
matrix: | ||
bazel: [6.x, 7.x, 8.0.0rc4] | ||
platform: ["debian10", "macos", "ubuntu2004", "windows"] | ||
tasks: | ||
run_tests: | ||
name: "Run test module" | ||
bazel: ${{ bazel }} | ||
platform: ${{ platform }} | ||
test_targets: | ||
- "//..." | ||
# The CentOS image does not set JAVA_HOME. To make the tests work, we set it | ||
# manually. | ||
run_tests_centos7: | ||
name: "Run test module" | ||
bazel: ${{ bazel }} | ||
platform: centos7 | ||
environment: | ||
JAVA_HOME: /usr/lib/jvm/zulu21 | ||
test_targets: | ||
- "//..." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"integrity": "sha256-Qd23qm/RNOLGb/7p3eB+Tb9S/uL5PvkYTEAZ8dO05qE=", | ||
"strip_prefix": "rules_jni-0.10.3", | ||
"url": "https://github.com/fmeum/rules_jni/releases/download/v0.10.3/rules_jni-v0.10.3.tar.gz", | ||
"patches": { | ||
"module_dot_bazel_version.patch": "sha256-r+SQtzfzlHwMR1VxotophiX9OFLRloeYACj1r335RLA=" | ||
}, | ||
"patch_strip": 1 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,8 @@ | |
"0.7.0", | ||
"0.8.0", | ||
"0.9.1", | ||
"0.10.1" | ||
"0.10.1", | ||
"0.10.3" | ||
], | ||
"yanked_versions": {} | ||
} |