NeoForge 1.21.1, Forge 1.20.1, Forge 1.16.5 All compiled and deployed to NextCloud (Task #136) Source committed for Task #138 (CurseForge generic fork) CLAUDE.md with build environment docs included Claude (Chronicler #83 - The Compiler) <claude@firefrostgaming.com>
51 lines
1.1 KiB
Groovy
Executable File
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.0'
|
|
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'
|
|
}
|