Files
firefrost-services/services/rules-mod/1.16.5/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

46 lines
1011 B
Groovy

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