diff --git a/build.sbt b/build.sbt index 1d1c83a..ababe60 100644 --- a/build.sbt +++ b/build.sbt @@ -5,27 +5,25 @@ val Compilonly = config("Compilonly") hide lazy val root = project .in(file(".")) .settings( + name := "Scala-Plugin-For-Allay", + version := "0.1.0-SNAPSHOT", + scalaVersion := scala3Version, - resolvers += + resolvers ++= Seq( "opencollab-repository-maven-snapshots" at "https://repo.opencollab.dev/maven-snapshots", - resolvers += "opencollab-repository-maven-releases" at "https://repo.opencollab.dev/maven-releases", - resolvers += "storehouse" at "https://storehouse.okaeri.eu/repository/maven-public/", - resolvers += "jitpack" at "https://www.jitpack.io/", - + ), + ivyConfigurations += Compilonly, - name := "Scala-Plugin-For-Allay", - version := "0.1.0-SNAPSHOT", - scalaVersion := scala3Version, - - libraryDependencies += "org.allaymc.allay" % "api" % "master-SNAPSHOT" % Compilonly, - libraryDependencies += "org.slf4j" % "slf4j-api" % "1.7.32" % Compilonly, + libraryDependencies ++= Seq( + "org.allaymc.allay" % "api" % "master-SNAPSHOT" % Compilonly, + ), - Compile / unmanagedClasspath ++= + Compile / unmanagedClasspath ++= update.value.select(configurationFilter("Compilonly")) ) diff --git a/src/main/resources/plugin.json b/src/main/resources/plugin.json index 4e10f0a..1005649 100644 --- a/src/main/resources/plugin.json +++ b/src/main/resources/plugin.json @@ -1,8 +1,6 @@ - { "entrance": "MyPlugin", "name": "ScalaPluginTemplate", "authors": ["harryxi"], "version": "1.0.0" - } - \ No newline at end of file +} \ No newline at end of file