Skip to content

Releases: fmeum/rules_jni

v0.5.2

23 May 19:57
Compare
Choose a tag to compare

What's Changed

  • Remove some unnecessary uses of .path by @fmeum in #79
  • Support slashes in target names by @fmeum in #81

Full Changelog: v0.5.1...v0.5.2

v0.5.1

06 Apr 11:17
Compare
Choose a tag to compare

What's Changed

  • Generate coverage reports in temporary directory by @fmeum in #71
  • Create temporary COVERAGE_DIR in TEST_TMPDIR by @fmeum in #72
  • Do not leak Runfiles instances by @fmeum in #74
  • Ensure coverage profile is written only once by @fmeum in #76
  • Fix coverage collection for Java agents by @fmeum in #75

Full Changelog: v0.5.0...v0.5.1

WORKSPACE snippet

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "fmeum_rules_jni",
    sha256 = "45acc80812e0ecafc3f1b2f17efa6141d014aa2cf49c94a83252f570124d161a",
    strip_prefix = "rules_jni-0.5.1",
    url = "https://github.com/fmeum/rules_jni/archive/refs/tags/v0.5.1.tar.gz",
)

load("@fmeum_rules_jni//jni:repositories.bzl", "rules_jni_dependencies")

rules_jni_dependencies()

v0.5.0

29 Mar 15:53
Compare
Choose a tag to compare

What's Changed

  • Set runfiles env vars in libjvm_stub by @fmeum in #57
  • Use GetEnvironmentVariableA on Windows by @fmeum in #58
  • Use the proper message prefix for errors in libjvm_stub by @fmeum in #60
  • Improve docs for rules_jni_init by @fmeum in #61
  • Prevent loading native libraries with same basename by @fmeum in #67
  • Use correct shared library extension for temporary files by @fmeum in #69
  • Add coverage support for *_jni_library by @fmeum in #59
  • Add coverage support to libjvm by @fmeum in #70

Full Changelog: v0.4.2...v0.5.0

v0.4.2

10 Mar 11:47
Compare
Choose a tag to compare

What's Changed

  • Fix propagation of testonly in #55

Full Changelog: v0.4.1...v0.4.2

WORKSPACE snippet

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "fmeum_rules_jni",
    sha256 = "39902411424856ce51c0137665171a4d08f2b767d30978dbded29dd099319890",
    strip_prefix = "rules_jni-0.4.2",
    url = "https://github.com/fmeum/rules_jni/archive/refs/tags/v0.4.2.tar.gz",
)

load("@fmeum_rules_jni//jni:repositories.bzl", "rules_jni_dependencies")

rules_jni_dependencies()

v0.4.1

21 Feb 09:23
Compare
Choose a tag to compare

What's Changed

  • Fix java_jni_library with no srcs in #53

Full Changelog: v0.4.0...v0.4.1

WORKSPACE snippet

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "fmeum_rules_jni",
    sha256 = "8e2cbb77f5b40fd1846ab8f4da6c5325dcd550090b8c27ccf878db662860732d",
    strip_prefix = "rules_jni-0.4.1",
    url = "https://github.com/fmeum/rules_jni/archive/refs/tags/v0.4.1.tar.gz",
)

load("@fmeum_rules_jni//jni:repositories.bzl", "rules_jni_dependencies")

rules_jni_dependencies()

v0.4.0

12 Jan 10:20
Compare
Choose a tag to compare

What's Changed

  • /usr/libexec/java_home is now used as a fallback for JAVA_HOME on macOS (#41)

Full Changelog: v0.3.1...v0.4.0

WORKSPACE snippet

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "fmeum_rules_jni",
    sha256 = "9a387a066f683a8aac4d165917dc7fe15ec2a20931894a97e153a9caab6123ca",
    strip_prefix = "rules_jni-0.4.0",
    url = "https://github.com/fmeum/rules_jni/archive/refs/tags/v0.4.0.tar.gz",
)

load("@fmeum_rules_jni//jni:repositories.bzl", "rules_jni_dependencies")

rules_jni_dependencies()

v0.3.1

23 Dec 10:28
Compare
Choose a tag to compare

What's Changed

  • No user-facing changes, but initial packaging for the Bazel Central Registry.

Full Changelog: v0.3.0...v0.3.1

v0.3.0

05 Nov 13:16
Compare
Choose a tag to compare

What's Changed

  • Allow fallback from runfiles lookup in edge cases in #27

Full Changelog: v0.2.1...v0.3.0

WORKSPACE snippet

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "fmeum_rules_jni",
    sha256 = "8d685e381cb625e11fac330085de2ebc13ad497d30c4e9b09beb212f7c27e8e7",
    url = "https://github.com/fmeum/rules_jni/releases/download/v0.3.0/rules_jni-v0.3.0.tar.gz",
)

load("@fmeum_rules_jni//jni:repositories.bzl", "rules_jni_dependencies")

rules_jni_dependencies()

v0.2.1

02 Nov 08:46
Compare
Choose a tag to compare

What's Changed

  • Restore Bazel 4.0.0 support in #25
  • Add remaining documentation in #21

Full Changelog: v0.2.0...v0.2.1

WORKSPACE snippet

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "fmeum_rules_jni",
    sha256 = "79e37740234db3f70b050b056adf6c54831b835fef99d2deb9eff3cfde43b216",
    url = "https://github.com/fmeum/rules_jni/releases/download/v0.2.1/rules_jni-v0.2.1.tar.gz",
)

load("@fmeum_rules_jni//jni:repositories.bzl", "rules_jni_dependencies")

rules_jni_dependencies()

v0.2.0

25 Oct 08:55
Compare
Choose a tag to compare

What's Changed

  • Simplify tags on intermediate targets in #18
  • Redesign JNI library rules in #19

Full Changelog: v0.1.1...v0.2.0