This should have originally been an internal API.
T
create(Iterable<File> rhinoClasspath, Class<T> protocolType, Class<? extends T> workerImplementationType, LogLevel logLevel, File workingDir)
Gradle API 2.14