Skip to content

Commit a574bf4

Browse files
publish-to-bcr-bot[bot]fmeum
authored andcommitted
Release: https://github.com/fmeum/rules_jni/releases/tag/v0.11.0 _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]>
1 parent 9fcc4aa commit a574bf4

File tree

5 files changed

+86
-3
lines changed

5 files changed

+86
-3
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
module(
2+
name = "rules_jni",
3+
version = "0.11.0",
4+
compatibility_level = 1,
5+
)
6+
7+
bazel_dep(name = "bazel_skylib", version = "1.6.1")
8+
bazel_dep(name = "platforms", version = "0.0.5")
9+
bazel_dep(name = "rules_cc", version = "0.0.17")
10+
bazel_dep(name = "rules_java", version = "8.6.0")
11+
bazel_dep(name = "rules_shell", version = "0.3.0")
12+
bazel_dep(name = "rules_license", version = "1.0.0")
13+
14+
download_jdk_deps = use_extension(
15+
"@rules_jni//jni/private/extensions:download_jdk_deps.bzl",
16+
"download_jdk_deps",
17+
)
18+
use_repo(
19+
download_jdk_deps,
20+
"com_github_openjdk_jdk_jni_h",
21+
"com_github_openjdk_jdk_license",
22+
"com_github_openjdk_jdk_unix_jni_md_h",
23+
"com_github_openjdk_jdk_windows_jni_md_h",
24+
)
25+
26+
bazel_dep(name = "rules_jvm_external", version = "6.1", dev_dependency = True)
27+
bazel_dep(name = "stardoc", version = "0.7.1", dev_dependency = True)
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
===================================================================
2+
--- a/MODULE.bazel
3+
+++ b/MODULE.bazel
4+
@@ -1,7 +1,7 @@
5+
module(
6+
name = "rules_jni",
7+
- version = "0.0.0",
8+
+ version = "0.11.0",
9+
compatibility_level = 1,
10+
)
11+
12+
bazel_dep(name = "bazel_skylib", version = "1.6.1")
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
matrix:
2+
bazel: [7.x, 8.x]
3+
platform: ["centos7", "debian10", "macos", "ubuntu2004", "windows"]
4+
5+
tasks:
6+
build_targets:
7+
name: "Build targets under //jni"
8+
bazel: ${{ bazel }}
9+
platform: ${{ platform }}
10+
build_targets:
11+
- "@rules_jni//jni/..."
12+
13+
bcr_test_module:
14+
module_path: "tests"
15+
matrix:
16+
bazel: [7.x, 8.x]
17+
platform: ["debian10", "macos", "ubuntu2004", "windows"]
18+
tasks:
19+
run_tests:
20+
name: "Run test module"
21+
bazel: ${{ bazel }}
22+
platform: ${{ platform }}
23+
test_targets:
24+
- "//..."
25+
# The CentOS image does not set JAVA_HOME. To make the tests work, we set it
26+
# manually.
27+
run_tests_centos7:
28+
name: "Run test module"
29+
bazel: ${{ bazel }}
30+
platform: centos7
31+
environment:
32+
JAVA_HOME: /usr/lib/jvm/zulu21
33+
test_targets:
34+
- "//..."
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"integrity": "sha256-GBNjydeu/TPotOHyT3XClmVVEpjlY06MgB5iT6iwyhg=",
3+
"strip_prefix": "rules_jni-0.11.0",
4+
"url": "https://github.com/fmeum/rules_jni/releases/download/v0.11.0/rules_jni-v0.11.0.tar.gz",
5+
"patches": {
6+
"module_dot_bazel_version.patch": "sha256-S/G40mlGQS6xO6FgBR+WgIkU2lx0LI1nss8K2qZvbLA="
7+
},
8+
"patch_strip": 1
9+
}

modules/rules_jni/metadata.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"github_user_id": 4312191
99
}
1010
],
11-
"repository": [
12-
"github:fmeum/rules_jni"
11+
"repository": [
12+
"github:fmeum/rules_jni"
1313
],
1414
"versions": [
1515
"0.3.1",
@@ -20,7 +20,8 @@
2020
"0.8.0",
2121
"0.9.1",
2222
"0.10.1",
23-
"0.10.3"
23+
"0.10.3",
24+
"0.11.0"
2425
],
2526
"yanked_versions": {}
2627
}

0 commit comments

Comments
 (0)