JAL-3850 fixed full class name
authorBen Soares <b.soares@dundee.ac.uk>
Wed, 21 Jul 2021 11:50:15 +0000 (12:50 +0100)
committerBen Soares <b.soares@dundee.ac.uk>
Wed, 21 Jul 2021 11:50:15 +0000 (12:50 +0100)
build.gradle

index 56140e6..ee7be0f 100644 (file)
@@ -2949,8 +2949,8 @@ task jalviewjsServer {
 
     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")
     }