Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 764 Bytes

README.md

File metadata and controls

27 lines (17 loc) · 764 Bytes

Travis Codecov

Rhino script engine

This project aims to package a minimal Rhino script engine for Android.

The script engine source code is imported from openjdk implementation, version 7u40-b43.

Installation

Add the following repository and dependency to your build.gradle:

dependencies {
    implementation 'com.github.gedoor:rhino-android:1.8'
}

Usage

You can now call the Rhino script engine by using the jsr223, i.e.:

ScriptEngine engine = new ScriptEngineManager().getEngineByName("rhino");