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

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

Build:
DEFAULT BRANCH: master
Ran 23 Oct 2018 01:44PM UTC
Files 2
Run time 0s
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

23 Oct 2018 01:44PM UTC coverage: 100.0% (+20.0%) from 80.0%
9.1

push

jenkins

Add project setup for external rust crate and jni module (#1)

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

7 of 7 relevant lines covered (100.0%)

1.0 hits per line

Source Files on job 9.1
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 9
  • cd5b4b18 on github
  • Prev Job for on master (#8.1)
  • Next Job for on master (#10.1)
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