• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

wooga / atlas-unity-version-manager / 1
100%
master: 26%

Build:
Build:
LAST BUILD BRANCH: PR-39
DEFAULT BRANCH: master
Ran 22 Oct 2018 08:30PM UTC
Jobs 1
Files 2
Run time 3min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
1

push

jenkins

Add project setup for external rust crate and jni module

Description
===========

The main logic of the [unity version manager] is written in [rust]. To
interact with this tool I decided to write a [JNI] wrapper. This patch
adds the boilerplate project setup to develop both the java and [rust] [JNI]
part.

This setup consists of two additional modules.

* `:jni`
* `:jni:rust`

jni
---

This module contains the java module and depends on the `jni:rust`
module to build a native library to load at runtime. There is not much
in `UnityVersionManager.java` except one method `uvmVersion`. This
method acts as a setup test for both [rust] and java. The module
produces a `jar` which contains both interface and native library.

rust
----

This is the [rust] source for the [JNI] interface. It is a library crate
project wrapped in a gradle project. The whole [rust] source depends on
two major crates:

* [jni] - a crate containing helper methods to create [JNI] bindings
* [uvm_core] - the unity version manager core library

This project compiles a native library (host system variant only for
now) and declares it as project artifact.

Changes
=======

![ADD] basic project setup to maintain [JNI] bindings

[unity version manager]: https:github.com/Larusso/unity-version-manager
[rust]: https://www.rust-lang.org/en-US/
[JNI]: https://de.wikipedia.org/wiki/Java_Native_Interface
[jni]: https://crates.io/crates/jni
[uvm_core]: https://crates.io/crates/uvm_core

5 of 7 relevant lines covered (71.43%)

0.71 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1.1 22 Oct 2018 08:30PM UTC 0
71.43
Source Files on build 1
Detailed source file information is not available for this build.
  • Back to Repo
  • Jenkins Build #1
  • 72196c76 on github
  • Next Build on PR-1 (#2)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc