def factory
try {
- def class = Class.forName("SimpleHttpFileServerFactory")
- factory = class.newInstance()
+ def f = Class.forName("org.gradle.plugins.javascript.envjs.http.simple.SimpleHttpFileServerFactory")
+ factory = f.newInstance()
} catch (ClassNotFoundException e) {
throw new GradleException("Unable to create SimpleHttpFileServerFactory")
}