api / org.gradle.plugins.javascript.rhino / RhinoExtension

RhinoExtension

open class RhinoExtension

Constructors

<init>

RhinoExtension()

Properties

CLASSPATH_CONFIGURATION_NAME

static val CLASSPATH_CONFIGURATION_NAME: String

DEFAULT_RHINO_DEPENDENCY_GROUP

static val DEFAULT_RHINO_DEPENDENCY_GROUP: String

DEFAULT_RHINO_DEPENDENCY_MODULE

static val DEFAULT_RHINO_DEPENDENCY_MODULE: String

DEFAULT_RHINO_DEPENDENCY_VERSION

static val DEFAULT_RHINO_DEPENDENCY_VERSION: String

NAME

static val NAME: String

RHINO_SHELL_MAIN

static val RHINO_SHELL_MAIN: String

Functions

configureJavaExec

open fun configureJavaExec(spec: JavaExecSpec): Unit

getClasspath

open fun getClasspath(): FileCollection

getVersion

open fun getVersion(): String

setClasspath

open fun setClasspath(rhinoClasspath: FileCollection): Unit

setVersion

open fun setVersion(version: String): Unit

Extension Properties

ext

val RhinoExtension.ext: ExtraPropertiesExtension

Retrieves the ext extension.

Extension Functions

ext

fun RhinoExtension.ext(configure: ExtraPropertiesExtension.() -> Unit): Unit

Configures the ext extension.