Skip to content

Commit

Permalink
Keep the same maven style
Browse files Browse the repository at this point in the history
also silentMojangMappingsLicense is useless, cuz we are using Yarn
  • Loading branch information
Asek3 committed Sep 20, 2023
1 parent f0a6bf4 commit c9fd06d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 19 deletions.
28 changes: 12 additions & 16 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@ plugins {
}

loom {
silentMojangMappingsLicense()
forge {
mixinConfigs = [
"rubidium.mixins.json",
"rubidium.compat.mixins.json"
"rubidium.mixins.json",
"rubidium.compat.mixins.json"
]
}
mixin.defaultRefmapName = "rubidium-mixins-refmap.json"
Expand All @@ -22,20 +21,17 @@ version = project.mod_version
group = project.maven_group

configurations {
modIncludeImplementation
modIncludeImplementation

include.extendsFrom modIncludeImplementation
modImplementation.extendsFrom modIncludeImplementation
include.extendsFrom modIncludeImplementation
modImplementation.extendsFrom modIncludeImplementation
}

repositories {
maven{
// curseforge
url "https://www.cursemaven.com"
content {
includeGroup "curse.maven"
}
}
maven {
name "Immersive Engineering maven"
url "https://maven.blamejared.com"
}
maven {
name = "CTM"
url "https://maven.tterrag.com/"
Expand All @@ -50,16 +46,16 @@ dependencies {
mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
forge "net.minecraftforge:forge:${minecraft_version}-${forge_version}"

modCompileOnly "curse.maven:immersive-engineering-231951:${ie_fileid}"
modCompileOnly "blusunrize.immersiveengineering:ImmersiveEngineering:1.19.2-9.2.2-165"
modCompileOnly "team.chisel.ctm:CTM:1.19.2-1.1.7+11"
}

processResources {
inputs.property "version", project.version

filesMatching("META-INF/mods.toml") {
expand "version": project.version
}
expand "version": project.version
}
}

tasks.withType(JavaCompile).configureEach {
Expand Down
4 changes: 1 addition & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,4 @@ org.gradle.jvmargs=-Xmx3G

forge_version=43.2.0

loom.platform=forge

ie_fileid=4193176
loom.platform=forge

0 comments on commit c9fd06d

Please sign in to comment.