SimpleJNI

A powerful lightweight C++ wrapper for JNI

APACHE-2.0 License

Stars
9

Bot releases are visible (Hide)

SimpleJNI - 3.10 Latest Release

Published by github-actions[bot] 5 months ago

Native Code

  • java_string_create(JNIEnv *, const char *, size_t) exposed publicly (thank you @JonathanLennox)
  • Reduced amount of allocations during exception message extraction
  • Reduced amount and complexity of template instanciations during compilation
  • java_frame is now movable
  • Headers now correctly check for C++17 rather than C++14

Annotation processors

  • No changes
SimpleJNI - 3.9

Published by github-actions[bot] 6 months ago

Native Code

  • No changes

Annotation processors

  • You can now use @CalledByNative annotation on Java/Kotlin enum members.
  • Kotlin version required updated to 1.9.23
  • KSP code generator now requires KSP version 1.9.23-1.0.20
SimpleJNI - 3.8

Published by github-actions[bot] 12 months ago

Native Code

  • Added missing standard library includes not implicitly included on some compilers
  • Modernized CMake file somewhat

Annotation processors

  • Kotlin version required updated to 1.9.0
  • KSP code generator now requires KSP version 1.9.0-1.0.13
SimpleJNI - 3.7

Published by gershnik over 1 year ago

Native Code

  • No changes

Annotation processors

  • Kotlin version required updated to 1.8.0
  • KSP code generator now requires KSP version 1.8.0-1.0.9
SimpleJNI - 3.6

Published by gershnik over 2 years ago

Refresh update.

  • GCC 12 compiler is now supported
  • KSP Code Generator: KSP dependency updated to 1.6.21-1.0.5
  • Samples updated with latest Android/Kotlin/Gradle dependencies
SimpleJNI - 3.5

Published by gershnik about 3 years ago

First release under a new name in this repo.

New features

Native code

  • Small bug fix to jstatic_cast to allow more than one DEFINE_JAVA_CONVERSION for the same type

JniGen generator

  • JNIGen generator is now on Maven Central instead of a private maven repo.
  • KSP annotation processor is now available in addition to Java/KAPT one.
  • Amount of Gradle code needed to integrate JniGen has been greatly reduced
  • /samples directory now contain updated JniGen integration samples.

See Integration doc for more details about new Maven config and KSP processor