From 44964433f6dddb59865cdf0218ea2e145d0249db Mon Sep 17 00:00:00 2001 From: Nightenom <17338378+Nightenom@users.noreply.github.com> Date: Tue, 27 Aug 2024 10:43:03 +0200 Subject: [PATCH] Fix release, try config cache --- .github/workflows/release.yml | 2 +- gradle.properties | 3 ++- src/main/java/com/ldtteam/common/config/Configurations.java | 2 -- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7235e11..5a56898 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,7 +13,7 @@ permissions: jobs: release: - uses: ldtteam/operapublicacreator/.github/workflows/gradle.release.yaml@ng7 + uses: ldtteam/operapublicacreator/.github/workflows/gradle.publish.yaml@ng7 with: java: 21 curse_release_type: ${{ contains(github.ref, 'release') && 'release' || 'beta' }} diff --git a/gradle.properties b/gradle.properties index fec4bf6..0aefcc4 100644 --- a/gradle.properties +++ b/gradle.properties @@ -2,10 +2,11 @@ org.gradle.jvmargs=-Xmx3G org.gradle.daemon=true org.gradle.parallel=true org.gradle.caching=true +org.gradle.configuration-cache=true modId=blockui modGroup=com.ldtteam -modVersion=0.0.1-LOCAL +modVersion=0.0.1 modBaseName=blockui javaVersion=21 diff --git a/src/main/java/com/ldtteam/common/config/Configurations.java b/src/main/java/com/ldtteam/common/config/Configurations.java index 80ea90e..28295cd 100644 --- a/src/main/java/com/ldtteam/common/config/Configurations.java +++ b/src/main/java/com/ldtteam/common/config/Configurations.java @@ -8,8 +8,6 @@ import net.neoforged.fml.config.ModConfig.Type; import net.neoforged.fml.event.config.ModConfigEvent; import net.neoforged.fml.loading.FMLEnvironment; -import net.neoforged.neoforge.client.gui.ConfigurationScreen; -import net.neoforged.neoforge.client.gui.IConfigScreenFactory; import net.neoforged.neoforge.common.ModConfigSpec; import net.neoforged.neoforge.common.ModConfigSpec.Builder; import net.neoforged.neoforge.common.ModConfigSpec.ConfigValue;