From 671d4ff2b209292925915ddf5a0359c2535b791c Mon Sep 17 00:00:00 2001 From: zontreck Date: Tue, 15 Oct 2024 02:34:16 -0700 Subject: [PATCH] More adjustments for project name changes --- nugget-core/build.gradle.kts | 2 +- .../main/kotlin/io/papermc/paperweight/core/PaperweightCore.kt | 2 +- nugget-patcher/build.gradle.kts | 2 +- nugget-userdev/build.gradle.kts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/nugget-core/build.gradle.kts b/nugget-core/build.gradle.kts index 99133c9..1c46c2f 100644 --- a/nugget-core/build.gradle.kts +++ b/nugget-core/build.gradle.kts @@ -4,7 +4,7 @@ plugins { } dependencies { - shade(projects.paperweightLib) + shade(projects.nuggetLib) implementation(libs.bundles.kotson) } diff --git a/nugget-core/src/main/kotlin/io/papermc/paperweight/core/PaperweightCore.kt b/nugget-core/src/main/kotlin/io/papermc/paperweight/core/PaperweightCore.kt index 4c08a72..799bff9 100644 --- a/nugget-core/src/main/kotlin/io/papermc/paperweight/core/PaperweightCore.kt +++ b/nugget-core/src/main/kotlin/io/papermc/paperweight/core/PaperweightCore.kt @@ -70,7 +70,7 @@ class PaperweightCore : Plugin { target.configurations.create(DECOMPILER_CONFIG) target.configurations.create(PAPERCLIP_CONFIG) - if (target.providers.gradleProperty("paperweight.dev").orNull == "true") { + if (target.providers.gradleProperty("nugget.dev").orNull == "true") { target.tasks.register("diff") { inputDir.convention(ext.paper.paperServerDir.map { it.dir("src/main/java") }) val prop = target.providers.gradleProperty("paperweight.diff.output") diff --git a/nugget-patcher/build.gradle.kts b/nugget-patcher/build.gradle.kts index a3448b8..732c029 100644 --- a/nugget-patcher/build.gradle.kts +++ b/nugget-patcher/build.gradle.kts @@ -4,7 +4,7 @@ plugins { } dependencies { - shade(projects.paperweightLib) + shade(projects.nuggetLib) implementation(libs.bundles.kotson) } diff --git a/nugget-userdev/build.gradle.kts b/nugget-userdev/build.gradle.kts index 863e802..869c58b 100644 --- a/nugget-userdev/build.gradle.kts +++ b/nugget-userdev/build.gradle.kts @@ -4,7 +4,7 @@ plugins { } dependencies { - shade(projects.paperweightLib) + shade(projects.nuggetLib) implementation(libs.bundles.kotson) implementation(variantOf(libs.diffpatch) { classifier("all") }) { isTransitive = false