0.1.3: switch to paper & textcomponents
This commit is contained in:
@@ -9,12 +9,13 @@ base.archivesName = project.extra["plugin_base_name"] as String
|
||||
repositories {
|
||||
mavenCentral()
|
||||
maven {
|
||||
url = uri("https://hub.spigotmc.org/nexus/content/repositories/snapshots/")
|
||||
name = "papermc"
|
||||
url = uri("https://repo.papermc.io/repository/maven-public/")
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compileOnly("org.spigotmc:spigot-api:1.21.10-R0.1-SNAPSHOT")
|
||||
compileOnly("io.papermc.paper:paper-api:1.21.10-R0.1-SNAPSHOT")
|
||||
implementation("net.kyori:adventure-api:4.25.0")
|
||||
}
|
||||
|
||||
@@ -23,3 +24,11 @@ java {
|
||||
languageVersion = JavaLanguageVersion.of(21)
|
||||
}
|
||||
}
|
||||
|
||||
// Explicitly specify a Mojang-mapped server, see PaperMC docs
|
||||
// https://docs.papermc.io/paper/dev/project-setup/#mojang-mappings
|
||||
tasks.jar {
|
||||
manifest {
|
||||
attributes["paperweight-mappings-namespace"] = "mojang"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user