Update Gradle to 7.2; set run-paper to 1.17.1 with toolchain (#4496)

:chatting:
This commit is contained in:
MD 2021-08-31 16:53:09 +01:00 committed by GitHub
parent 14c2ab5ddd
commit 8bbaf7da68
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 167 additions and 132 deletions

View file

@ -8,7 +8,7 @@ repositories {
}
dependencies {
implementation("net.kyori", "indra-common", "2.0.5")
implementation("net.kyori", "indra-common", "2.0.6")
implementation("gradle.plugin.com.github.jengelman.gradle.plugins", "shadow", "7.0.0")
implementation("xyz.jpenilla", "run-paper", "1.0.2")
implementation("xyz.jpenilla", "run-paper", "1.0.4")
}

View file

@ -1 +1 @@
const val RUN_PAPER_MINECRAFT_VERSION = "1.16.5"
const val RUN_PAPER_MINECRAFT_VERSION = "1.17.1"

View file

@ -9,6 +9,7 @@ tasks {
runServer {
minecraftVersion(RUN_PAPER_MINECRAFT_VERSION)
runDirectory(rootProject.file("run"))
javaLauncher.set(javaToolchains.launcherFor(java.toolchain))
if (project.name != "EssentialsX") {
pluginJars.from(rootProject.project(":EssentialsX").the<EssentialsModuleExtension>().archiveFile)
}