Skip to content

Commit

Permalink
removed unnessecary code
Browse files Browse the repository at this point in the history
  • Loading branch information
Trinsdar committed Oct 15, 2024
1 parent 47abee5 commit cdf13da
Showing 1 changed file with 6 additions and 23 deletions.
29 changes: 6 additions & 23 deletions common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,35 +4,23 @@ plugins {
archivesBaseName = "${rootProject.archive_base_name}-common"

unimined.minecraft {
version minecraft_version
accessWidener {
accessWidener(file("src/main/resources/gtcore.accesswidener"))
}

defaultRemapJar = false

mods.modImplementation {
namespace("intermediary")
}

mods {
remap(configurations.modCompileOnly){
catchAWNamespaceAssertion()
}
remap(configurations.modRuntimeOnly){
catchAWNamespaceAssertion()
}
modImplementation {
catchAWNamespaceAssertion()
}
}

mappings {
intermediary()
mojmap()
devFallbackNamespace "official"
devNamespace "mojmap"
parchment(rootProject.minecraft_version, rootProject.mappings_version)
}

mods.modImplementation {
namespace("intermediary")
}
}

configurations {
Expand All @@ -43,11 +31,6 @@ configurations {
}

dependencies {
minecraft "com.mojang:minecraft:${rootProject.minecraft_version}"
mappings loom.layered() {
officialMojangMappings()
parchment("org.parchmentmc.data:parchment-${rootProject.minecraft_version}:${rootProject.mappings_version}@zip")
}
modImplementation("io.github.gregtechintergalactical:antimatter-fabric:${antimatter_version}"){
exclude(group: "maven.modrinth")
exclude(group: "com.github.Trins-mods")
Expand All @@ -61,7 +44,7 @@ dependencies {
modImplementation "com.teamresourceful.resourcefullib:resourcefullib-fabric-1.18.2:${project.resourcefullib_version}"
modCompileOnly "me.shedaniel:RoughlyEnoughItems-api:${rootProject.rei_version}"
modCompileOnly "me.shedaniel:RoughlyEnoughItems-default-plugin:${rootProject.rei_version}"
modCompileOnlyApi("mezz.jei:jei-${rootProject.minecraft_version}-common-api:${rootProject.jei_version}")
modCompileOnly("mezz.jei:jei-${rootProject.minecraft_version}-common-api:${rootProject.jei_version}")
modCompileOnly("mezz.jei:jei-${rootProject.minecraft_version}-fabric:${rootProject.jei_version}")
modImplementation("com.terraformersmc.terraform-api:terraform-wood-api-v1:${project.terraform_version_fabric}"){
transitive = false
Expand Down

0 comments on commit cdf13da

Please sign in to comment.