diff --git a/JavaExample/src/main/java/xyz/janboerman/scalaloader/example/java/ExamplePlugin.java b/JavaExample/src/main/java/xyz/janboerman/scalaloader/example/java/ExamplePlugin.java index 5998a32b..8c5891ce 100644 --- a/JavaExample/src/main/java/xyz/janboerman/scalaloader/example/java/ExamplePlugin.java +++ b/JavaExample/src/main/java/xyz/janboerman/scalaloader/example/java/ExamplePlugin.java @@ -33,7 +33,7 @@ public class ExamplePlugin extends ScalaPlugin { private final Random random = new Random(); public ExamplePlugin() { - super(new ScalaPluginDescription("JavaExample", "0.18.10-SNAPSHOT").addHardDepend("Scala2Example")); + super(new ScalaPluginDescription("JavaExample", "0.18.15-SNAPSHOT").addHardDepend("Scala2Example")); } public static ExamplePlugin getInstance() { diff --git a/Scala2Example/pom.xml b/Scala2Example/pom.xml index aaf0b81b..76c7384b 100644 --- a/Scala2Example/pom.xml +++ b/Scala2Example/pom.xml @@ -12,7 +12,7 @@ Scala2Example - 2.13.12 + 2.13.15 diff --git a/Scala2Example/src/main/scala/xyz/janboerman/scalaloader/example/scala/ExamplePlugin.scala b/Scala2Example/src/main/scala/xyz/janboerman/scalaloader/example/scala/ExamplePlugin.scala index 79c52e2d..bbcbdd88 100644 --- a/Scala2Example/src/main/scala/xyz/janboerman/scalaloader/example/scala/ExamplePlugin.scala +++ b/Scala2Example/src/main/scala/xyz/janboerman/scalaloader/example/scala/ExamplePlugin.scala @@ -15,10 +15,10 @@ object Permissions { val homePermission = new SPPermission("scalaexample.home").permissionDefault(PermissionDefault.TRUE); } -@Scala(version = ScalaVersion.v2_13_12) -@Api(ApiVersion.v1_20) +@Scala(version = ScalaVersion.v2_13_15) +@Api(ApiVersion.v1_21) object ExamplePlugin - extends ScalaPlugin(new ScalaPluginDescription("Scala2Example", "0.18.10-SNAPSHOT") + extends ScalaPlugin(new ScalaPluginDescription("Scala2Example", "0.18.15-SNAPSHOT") .addCommand(new SPCommand("foo").permission(fooPermission)) .addCommand(new SPCommand("home").permission(homePermission).usage("/home set|tp")) .permissions(homePermission)) { diff --git a/Scala3Example/src/main/scala/xyz/janboerman/scalaloader/example/scala3/ExamplePlugin.scala b/Scala3Example/src/main/scala/xyz/janboerman/scalaloader/example/scala3/ExamplePlugin.scala index 1f9962e8..f81e3e62 100644 --- a/Scala3Example/src/main/scala/xyz/janboerman/scalaloader/example/scala3/ExamplePlugin.scala +++ b/Scala3Example/src/main/scala/xyz/janboerman/scalaloader/example/scala3/ExamplePlugin.scala @@ -1,8 +1,7 @@ package xyz.janboerman.scalaloader.example.scala3 -import xyz.janboerman.scalaloader.configurationserializable.runtime.{Codec, RuntimeConversions} -import xyz.janboerman.scalaloader.plugin.description.{Api, ApiVersion, Scala, ScalaVersion} -import xyz.janboerman.scalaloader.plugin.{ScalaPlugin, ScalaPluginDescription} +import xyz.janboerman.scalaloader.plugin.description.{Scala, ScalaVersion} +import xyz.janboerman.scalaloader.plugin.ScalaPlugin @Scala(version = ScalaVersion.v3_6_2) object ExamplePlugin extends ScalaPlugin {