mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-10-15 14:07:38 +00:00

- Update EMI and REI integration, and fix some issues with the upgrade crafting hooks. - Just use smooth stone for recipes, not #c:stone. We're mirroring redstone's crafting recipes here. - Some cleanup to printouts. - Remote upgrade data generators - these can be replaced with the standard registry data generators. - Remove the API's PlatformHelper - we no longer have any platform-specific code in the API.
38 lines
968 B
Plaintext
38 lines
968 B
Plaintext
// SPDX-FileCopyrightText: 2022 The CC: Tweaked Developers
|
|
//
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
/** Default configuration for Forge projects. */
|
|
|
|
import cc.tweaked.gradle.CCTweakedExtension
|
|
import cc.tweaked.gradle.CCTweakedPlugin
|
|
import cc.tweaked.gradle.IdeaRunConfigurations
|
|
import cc.tweaked.gradle.MinecraftConfigurations
|
|
|
|
plugins {
|
|
id("cc-tweaked.java-convention")
|
|
id("net.neoforged.gradle.userdev")
|
|
}
|
|
|
|
plugins.apply(CCTweakedPlugin::class.java)
|
|
|
|
val mcVersion: String by extra
|
|
|
|
minecraft {
|
|
modIdentifier("computercraft")
|
|
}
|
|
|
|
subsystems {
|
|
parchment {
|
|
val libs = project.extensions.getByType<VersionCatalogsExtension>().named("libs")
|
|
minecraftVersion = libs.findVersion("parchmentMc").get().toString()
|
|
mappingsVersion = libs.findVersion("parchment").get().toString()
|
|
}
|
|
}
|
|
|
|
MinecraftConfigurations.setup(project)
|
|
|
|
extensions.configure(CCTweakedExtension::class.java) {
|
|
linters(minecraft = true, loader = "forge")
|
|
}
|