cawezs_mantle_to_stratus/build.gradle
2025-01-11 21:22:12 -05:00

47 lines
1.0 KiB
Groovy

plugins {
id 'eclipse'
id 'net.neoforged.moddev' version '1.0.21'
}
version = '1.0'
base.archivesName = "modid"
java.toolchain.languageVersion = JavaLanguageVersion.of(21)
neoForge {
version = "21.1.65"
runs {
client {
client()
def mcreatorJvmOptions = System.getenv('MCREATOR_JVM_OPTIONS')
if (mcreatorJvmOptions) {
mcreatorJvmOptions.split("\\s+").findAll { it.trim() }.each { arg ->
jvmArgument(arg)
}
}
}
server {
server()
}
configureEach {
systemProperty 'forge.logging.markers', 'REGISTRIES'
logLevel = org.slf4j.event.Level.DEBUG
}
}
mods {
testproject {
sourceSet sourceSets.main
}
}
}
tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8' // Use the UTF-8 charset for Java compilation
}
apply from: 'mcreator.gradle'