aboutsummaryrefslogtreecommitdiffhomepage
path: root/settings.gradle.kts
diff options
context:
space:
mode:
authorKyle Wood <[email protected]>2021-11-26 00:08:46 -0600
committerMiniDigger | Martin <[email protected]>2021-11-30 19:26:33 +0100
commite519a51f955e3b5d1dcaaceacf888651b2fd4e27 (patch)
tree3a57c6ca90edf1604ab91285fd7eda9caecebd52 /settings.gradle.kts
parente8f01f89d2d1c0fd47927954debc05b30d7ae8c5 (diff)
downloadPaper-e519a51f955e3b5d1dcaaceacf888651b2fd4e27.tar.gz
Paper-e519a51f955e3b5d1dcaaceacf888651b2fd4e27.zip
Upgrade paperweight with bundler jar updates
This allows creating paperclip jars pre-patch (only the reobf'd jar for now).
Diffstat (limited to 'settings.gradle.kts')
-rw-r--r--settings.gradle.kts12
1 files changed, 7 insertions, 5 deletions
diff --git a/settings.gradle.kts b/settings.gradle.kts
index de13572ae2..93c30c81d9 100644
--- a/settings.gradle.kts
+++ b/settings.gradle.kts
@@ -1,3 +1,5 @@
+import java.util.Locale
+
pluginManagement {
repositories {
gradlePluginPortal()
@@ -7,11 +9,11 @@ pluginManagement {
rootProject.name = "Paper"
-include(
- "Paper-API",
- "Paper-Server",
- "Paper-MojangAPI",
-)
+for (name in listOf("Paper-API", "Paper-Server", "Paper-MojangAPI")) {
+ val projName = name.toLowerCase(Locale.ENGLISH)
+ include(projName)
+ findProject(":$projName")!!.projectDir = file(name)
+}
val testPlugin = file("test-plugin.settings.gradle.kts")
if (testPlugin.exists()) {