Skip to content

Commit

Permalink
style: Formatting & improving the content order of build files
Browse files Browse the repository at this point in the history
  • Loading branch information
harry-xi committed Sep 22, 2024
1 parent c90081f commit e84c393
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 15 deletions.
22 changes: 10 additions & 12 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
)
4 changes: 1 addition & 3 deletions src/main/resources/plugin.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@

{
"entrance": "MyPlugin",
"name": "ScalaPluginTemplate",
"authors": ["harryxi"],
"version": "1.0.0"
}

}

0 comments on commit e84c393

Please sign in to comment.