Files
Purpur/settings.gradle.kts
granny c5f1057812 Updated Upstream (Paper)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@83a1304 [ci skip] Update Gradle wrapper to 8.0.1 (#8924)
PaperMC/Paper@08e6622 fix runServer tasks
PaperMC/Paper@4ae202e Fix getBlockStateIfLoaded world bounds check
PaperMC/Paper@b670798 Close plugin jar file on classloader close and after retrieving name for updating (#8902)
PaperMC/Paper@5170d6f Update the flag when a captured block state is outdated (#8860)
PaperMC/Paper@dead691 Fix MC-157464 Prevent sleeping villagers moving towards food (#8923)
PaperMC/Paper@f408c25 Log message if plugin bootstrap provided external plugin instead of throwing an exception (#8914)
2023-02-28 05:58:01 -08:00

41 lines
1.2 KiB
Kotlin

import java.util.Locale
pluginManagement {
repositories {
gradlePluginPortal()
maven("https://repo.papermc.io/repository/maven-public/")
}
}
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version "0.4.0"
}
if (!file(".git").exists()) {
val errorText = """
=====================[ ERROR ]=====================
The Purpur project directory is not a properly cloned Git repository.
In order to build Purpur from source you must clone
the Purpur repository using Git, not download a code
zip from GitHub.
Built Purpur jars are available for download at
https://purpurmc.org/downloads
See https://github.com/PurpurMC/Purpur/blob/HEAD/CONTRIBUTING.md
for further information on building and modifying Purpur.
===================================================
""".trimIndent()
error(errorText)
}
rootProject.name = "purpur"
for (name in listOf("Purpur-API", "Purpur-Server")) {
val projName = name.toLowerCase(Locale.ENGLISH)
include(projName)
findProject(":$projName")!!.projectDir = file(name)
}