Skip to content

Commit

Permalink
Add rules_jni 0.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
fmeum committed Dec 23, 2021
1 parent 02f69b6 commit 9548b3f
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 0 deletions.
20 changes: 20 additions & 0 deletions modules/rules_jni/0.3.1/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
module(
name = "rules_jni",
version = "0.3.1",
compatibility_level = 1,
)

bazel_dep(name = "bazel_skylib", version = "1.0.3")
bazel_dep(name = "platforms", version = "0.0.4")

download_jni_headers = use_extension(
"@rules_jni//bzlmod:extensions.bzl",
"download_jni_headers",
)

use_repo(
download_jni_headers,
"com_github_openjdk_jdk_jni_h",
"com_github_openjdk_jdk_unix_jni_md_h",
"com_github_openjdk_jdk_windows_jni_md_h",
)
16 changes: 16 additions & 0 deletions modules/rules_jni/0.3.1/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
platforms:
centos7:
build_targets:
- '@rules_jni//jni/...'
debian10:
build_targets:
- '@rules_jni//jni/...'
macos:
build_targets:
- '@rules_jni//jni/...'
ubuntu2004:
build_targets:
- '@rules_jni//jni/...'
windows:
build_targets:
- '@rules_jni//jni/...'
5 changes: 5 additions & 0 deletions modules/rules_jni/0.3.1/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"integrity": "sha256-r0oZ36KdPa6iatKxMpWHtG6BP+sM8Nob1YO8M9XFMwU=",
"strip_prefix": "rules_jni-0.3.1",
"url": "https://github.com/fmeum/rules_jni/archive/refs/tags/v0.3.1.tar.gz"
}
14 changes: 14 additions & 0 deletions modules/rules_jni/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"homepage": "https://github.com/fmeum/rules_jni",
"maintainers": [
{
"email": "[email protected]",
"github": "fmeum",
"name": "Fabian Meumertzheim"
}
],
"versions": [
"0.3.1"
],
"yanked_versions": {}
}

0 comments on commit 9548b3f

Please sign in to comment.