Get working in prod + housekeeping

- Include required FAPI modules
- Bump version 0.1.0 -> 1.0.0
- Change FLoader dep to >= 0.12.0
This commit is contained in:
tibs 2022-01-10 09:52:45 -05:00
parent d26b7ca763
commit f885301e64
Signed by untrusted user who does not match committer: tibs
GPG key ID: 047833989F50F88F
3 changed files with 15 additions and 4 deletions

View file

@ -19,6 +19,15 @@ repositories {
} }
} }
var apiModules = [
"fabric-api-base",
"fabric-tool-attribute-api-v1",
"fabric-mining-level-api-v1",
"fabric-resource-loader-v0",
"fabric-tag-extensions-v0",
"fabric-object-builder-api-v1"
]
dependencies { dependencies {
// To change the versions see the gradle.properties file // To change the versions see the gradle.properties file
minecraft "com.mojang:minecraft:${project.minecraft_version}" minecraft "com.mojang:minecraft:${project.minecraft_version}"
@ -26,7 +35,9 @@ dependencies {
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}" modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"
// Fabric API // Fabric API
include modImplementation(fabricApi.module("fabric-object-builder-api-v1", project.fabric_version)) apiModules.forEach {
include modImplementation(fabricApi.module(it, project.fabric_version))
}
// Sodium // Sodium
modCompileOnly "maven.modrinth:sodium:${project.sodium_version}" modCompileOnly "maven.modrinth:sodium:${project.sodium_version}"

View file

@ -4,12 +4,12 @@ org.gradle.jvmargs=-Xmx1G
# Fabric Properties # Fabric Properties
# check these on https://modmuss50.me/fabric.html # check these on https://modmuss50.me/fabric.html
minecraft_version=1.18.1 minecraft_version=1.18.1
yarn_mappings=1.18.1+build.12 yarn_mappings=1.18.1+build.18
loader_version=0.12.12 loader_version=0.12.12
fabric_version=0.45.0+1.18 fabric_version=0.45.0+1.18
# Mod Properties # Mod Properties
mod_version=0.1.0 mod_version=1.0.0
maven_group=me.tibinonest.mods maven_group=me.tibinonest.mods
archives_base_name=cauldron-dying archives_base_name=cauldron-dying

View file

@ -25,7 +25,7 @@
], ],
"depends": { "depends": {
"minecraft": ">=1.18", "minecraft": ">=1.18",
"fabricloader": ">=0.12.12", "fabricloader": ">=0.12.0",
"fabric-object-builder-api-v1": ">=0.1" "fabric-object-builder-api-v1": ">=0.1"
} }
} }