mirror of
https://github.com/mii443/minecraft-scala-plugin-template.git
synced 2025-08-22 16:05:37 +00:00
Initial commit: Minecraft Scala Plugin Template
- Complete Scala SpigotMC plugin template
- Docker development environment
- Sample commands (/hello, /info) and event handlers
- Development scripts for easy server management
- Comprehensive README and documentation
🤖 Generated with Claude Code
This commit is contained in:
20
build.sbt
Normal file
20
build.sbt
Normal file
@ -0,0 +1,20 @@
|
||||
ThisBuild / version := "1.0.0"
|
||||
ThisBuild / scalaVersion := "2.13.12"
|
||||
|
||||
lazy val root = (project in file("."))
|
||||
.settings(
|
||||
name := "minecraft-scala-plugin",
|
||||
resolvers ++= Seq(
|
||||
"spigot-repo" at "https://hub.spigotmc.org/nexus/content/repositories/snapshots/",
|
||||
"sonatype" at "https://oss.sonatype.org/content/repositories/snapshots/"
|
||||
),
|
||||
libraryDependencies ++= Seq(
|
||||
"org.spigotmc" % "spigot-api" % "1.21.5-R0.1-SNAPSHOT" % "provided"
|
||||
),
|
||||
assembly / assemblyMergeStrategy := {
|
||||
case PathList("META-INF", xs @ _*) => MergeStrategy.discard
|
||||
case x => MergeStrategy.first
|
||||
},
|
||||
assembly / assemblyJarName := s"${name.value}-${version.value}.jar"
|
||||
)
|
||||
|
Reference in New Issue
Block a user