Skip to content

Commit

Permalink
Remove porting lib base by using transitive dependencies from create
Browse files Browse the repository at this point in the history
  • Loading branch information
hlysine committed May 27, 2024
1 parent a563bee commit 0f58ed2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,13 @@ dependencies {
modImplementation("com.tterrag.registrate_fabric:Registrate:${registrate_version}")
modImplementation("com.jozufozu.flywheel:flywheel-fabric-${flywheel_minecraft_version}:${flywheel_version}")
modImplementation("com.jamieswhiteshirt:reach-entity-attributes:$reach_entity_attributes_version")
modCompileOnly("com.simibubi.create:create-fabric-${create_minecraft_version}:${create_version}") { transitive = false }
modRuntimeOnly("com.simibubi.create:create-fabric-${create_minecraft_version}:${create_version}")
modCompileOnly("com.simibubi.create:create-fabric-${create_minecraft_version}:${create_version}") {
transitive = true
exclude group: "maven.modrinth"
}
modRuntimeOnly("com.simibubi.create:create-fabric-${create_minecraft_version}:${create_version}") {
exclude group: "maven.modrinth"
}
for (String module in port_lib_modules.split(",")) {
modImplementation(include("io.github.fabricators_of_create.Porting-Lib:$module:$port_lib_version"))
}
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ config_api_version_range=>=8.0.0

port_lib_version=2.3.0+1.20.1
# adding a module also requires adding a dependency to the FMJ
port_lib_modules=base,chunk_loading
port_lib_modules=chunk_loading


create_minecraft_version=1.20.1
Expand Down

0 comments on commit 0f58ed2

Please sign in to comment.