mirror of
https://github.com/mii443/minecraft-scala-plugin-template.git
synced 2025-08-22 07:55:36 +00:00
- 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
21 lines
700 B
Scala
21 lines
700 B
Scala
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"
|
|
)
|
|
|