Skip to content

Commit

Permalink
Update build and deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Technici4n committed Nov 28, 2021
1 parent d9e1061 commit e03c1a4
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 20 deletions.
10 changes: 5 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ repositories {
}

dependencies {
// TODO remove
include modImplementation("net.fabricmc.fabric-api:fabric-data-generation-api-v1:0.0.1+f8f4a6586d") {
// TODO remove when fabric PR is merged
modImplementation("net.fabricmc.fabric-api:fabric-data-generation-api-v1:0.0.1+f8f4a6586d") {
exclude(group: "net.fabricmc.fabric-api")
}

Expand Down Expand Up @@ -351,9 +351,9 @@ if (System.getenv("CURSEFORGE_API_KEY") && !version.endsWith("-SNAPSHOT")) {
changelogType = "markdown"
delegate.changelog = changelog

addGameVersion "1.17.1"
addGameVersion "1.18-Snapshot"
addGameVersion "Fabric"
addGameVersion "Java 16"
addGameVersion "Java 17"

relations {
requiredDependency "fabric-api"
Expand Down Expand Up @@ -388,6 +388,6 @@ task publishModrinth (type: TaskModrinthUpload){
delegate.changelog = changelog
versionType = releaseChannel.toUpperCase()
uploadFile = remapJar.archiveFile
addGameVersion "1.17.1"
addGameVersion "1.18-rc3"
addLoader "fabric"
}
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ org.gradle.jvmargs=-Xmx1G \

# Fabric Properties
# check these on https://fabricmc.net/use
minecraft_version=1.18-pre7
yarn_mappings=1.18-pre7+build.3
minecraft_version=1.18-rc3
yarn_mappings=1.18-rc3+build.2
loader_version=0.12.5

# Mod Properties
Expand All @@ -20,7 +20,7 @@ org.gradle.jvmargs=-Xmx1G \

# Dependencies
# currently not on the main fabric site, check on the maven: https://maven.fabricmc.net/net/fabricmc/fabric-api/fabric-api
fabric_version=0.43.0+1.18
fabric_version=0.43.1+1.18
rei_version=7.0.337
patchouli_version=1.17.1-56-FABRIC
cloth_api_version=1.5.47
Expand Down
15 changes: 3 additions & 12 deletions src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"__comment": "TODO 1.18 add back REI and patchouli deps",
"schemaVersion": 1,
"id": "modern_industrialization",
"version": "${version}",
Expand Down Expand Up @@ -47,7 +46,8 @@
"depends": {
"fabricloader": ">=0.7.4",
"fabric": ">=0.43",
"minecraft": "1.18.x"
"minecraft": "1.18.x",
"roughlyenoughitems": "*"
},
"breaks": {
"universalcomponents": "*"
Expand All @@ -56,15 +56,6 @@
"waila:plugins": {
"id": "modern_industrialization:plugin",
"initializer": "aztech.modern_industrialization.compat.waila.MIWailaPlugin"
},
"dashloader:customobject": [
"aztech.modern_industrialization.compat.dashloader.DashMachineBakedModel",
"aztech.modern_industrialization.compat.dashloader.DashMachineCastingModel",
"aztech.modern_industrialization.compat.dashloader.DashPipeModel",
"aztech.modern_industrialization.compat.dashloader.DashTankModel"
],
"dashloader:customdata": [
"aztech.modern_industrialization.compat.dashloader.MachineCastingModelsData"
]
}
}
}

0 comments on commit e03c1a4

Please sign in to comment.