Files
2024-12-17 13:20:00 -05:00

60 lines
1.4 KiB
Groovy

apply plugin: 'xyz.wagyourtail.unimined'
repositories {
maven {
name = "wagyourtail releases"
url = "https://maven.wagyourtail.xyz/releases"
}
maven {
name = "sponge"
url = "https://repo.spongepowered.org/maven"
}
mavenCentral()
}
evaluationDependsOn(":common")
unimined.minecraft {
combineWith(project(":common"), project(":common").sourceSets.getByName("main"))
version "1.12.2"
mappings {
mcp("stable", "39-1.12")
}
cleanroom {
loader "0.2.2-alpha"
mixinConfig "mixins.celeritas.json"
accessTransformer(file("src/main/resources/META-INF/celeritas_at.cfg"))
}
runs.config("client") {
systemProperty("fml.coreMods.load", "org.taumc.celeritas.core.CeleritasLoadingPlugin")
}
}
dependencies {
implementation("org.joml:joml:1.10.5")
compileOnly("org.projectlombok:lombok:1.18.30")
annotationProcessor("org.projectlombok:lombok:1.18.30")
}
processResources {
inputs.property "version", project.version
filesMatching("mcmod.info") {
expand "version": project.version
}
}
jar {
manifest {
attributes([
"FMLCorePlugin": "org.taumc.celeritas.core.CeleritasLoadingPlugin",
"FMLCorePluginContainsFMLMod": "true",
"FMLAT": "celeritas_at.cfg",
"ForceLoadAsMod": "true"
])
}
}