Files
firefrost-services/services/rules-mod/1.20.1/build.gradle
Claude (Chronicler #83 - The Compiler) 60740386ac v1.0.2: Fix config reset — switch from SERVER to COMMON config type
SERVER configs in world/serverconfig/ are tied to the world load/unload
lifecycle, causing Forge to overwrite edited values on every restart.
COMMON configs in config/ load once at startup and persist reliably.

Config location changed:
  firefrostrules: config/firefrostrules-common.toml
  discordrules:   config/discordrules-common.toml

All 6 builds updated (3 firefrostrules + 3 discordrules).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-13 17:22:39 -05:00

51 lines
1.1 KiB
Groovy
Executable File

buildscript {
repositories {
maven { url = 'https://maven.minecraftforge.net/' }
mavenCentral()
}
dependencies {
classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '6.0.+'
}
}
apply plugin: 'net.minecraftforge.gradle'
version = '1.0.2'
group = 'com.firefrostgaming.rules'
archivesBaseName = 'firefrostrules'
java.toolchain.languageVersion = JavaLanguageVersion.of(17)
minecraft {
mappings channel: 'official', version: '1.20.1'
runs {
server {
workingDirectory project.file('run')
property 'forge.logging.markers', 'REGISTRIES'
property 'forge.logging.console.level', 'debug'
mods {
firefrostrules {
source sourceSets.main
}
}
}
}
}
dependencies {
minecraft 'net.minecraftforge:forge:1.20.1-47.3.0'
}
jar {
manifest {
attributes([
"Implementation-Title": "Firefrost Rules",
"Implementation-Version": project.version,
])
}
}
tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8'
}