ScalaPluginProvider: Adjust to new constructor of ServerPlugin

The constructor requires the plugin metrics prefix and the gerrit
runtime environment.

Change-Id: Ie20c55d11ce17b379a99311af62a11b7bc97405c
diff --git a/src/main/java/com/googlesource/gerrit/plugins/scripting/scala/ScalaPluginProvider.java b/src/main/java/com/googlesource/gerrit/plugins/scripting/scala/ScalaPluginProvider.java
index 511b406..2d6187e 100644
--- a/src/main/java/com/googlesource/gerrit/plugins/scripting/scala/ScalaPluginProvider.java
+++ b/src/main/java/com/googlesource/gerrit/plugins/scripting/scala/ScalaPluginProvider.java
@@ -15,6 +15,7 @@
 package com.googlesource.gerrit.plugins.scripting.scala;
 
 import com.google.gerrit.extensions.annotations.PluginName;
+import com.google.gerrit.server.config.GerritRuntime;
 import com.google.gerrit.server.plugins.InvalidPluginException;
 import com.google.gerrit.server.plugins.ServerPlugin;
 import com.google.gerrit.server.plugins.ServerPluginProvider;
@@ -67,7 +68,9 @@
         snapshot,
         new ScalaPluginScanner(name, srcFile, scriptEngine),
         description.dataDir,
-        scriptEngine.getClassLoader());
+        scriptEngine.getClassLoader(),
+        "scala/" + name,
+        GerritRuntime.DAEMON);
   }
 
   @Override