Rhino for Android

Give access to RhinoScriptEngine from the JSR223 interfaces on Android JRE.

Лицензия

Лицензия

Группа

Группа

io.apisense
Идентификатор

Идентификатор

rhino-android
Последняя версия

Последняя версия

1.1.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

Rhino for Android
Give access to RhinoScriptEngine from the JSR223 interfaces on Android JRE.
Ссылка на сайт

Ссылка на сайт

https://apisense.io
Система контроля версий

Система контроля версий

https://github.com/APISENSE/rhino-android

Скачать rhino-android

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/io.apisense/rhino-android/ -->
<dependency>
    <groupId>io.apisense</groupId>
    <artifactId>rhino-android</artifactId>
    <version>1.1.1</version>
</dependency>
// https://jarcasting.com/artifacts/io.apisense/rhino-android/
implementation 'io.apisense:rhino-android:1.1.1'
// https://jarcasting.com/artifacts/io.apisense/rhino-android/
implementation ("io.apisense:rhino-android:1.1.1")
'io.apisense:rhino-android:jar:1.1.1'
<dependency org="io.apisense" name="rhino-android" rev="1.1.1">
  <artifact name="rhino-android" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.apisense', module='rhino-android', version='1.1.1')
)
libraryDependencies += "io.apisense" % "rhino-android" % "1.1.1"
[io.apisense/rhino-android "1.1.1"]

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
org.mozilla : rhino jar 1.7.10
com.sun.phobos : jsr223-api jar 1.0

test (1)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.12

Модули Проекта

Данный проект не имеет модулей.

Travis Codecov Maven Central

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 {
    compile 'io.apisense:rhino-android:1.1.1'
}

Usage

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

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

Configuration

The ScriptEngine feature relies on reflection to instanciate the engines. This will cause trouble while shrinking your code using Proguard or R8.

To ease the integration of rhino-android in your project, you can find a sample project with up-to-date configuration for minification here: https://github.com/aveuiller/RhinoSampleApp

io.apisense

Версии библиотеки

Версия
1.1.1
1.1
1.0