Skip to content

Commit

Permalink
Give up trying to wrangle source dependencies and bump version
Browse files Browse the repository at this point in the history
Looooooom please add support for source dependencies :(
  • Loading branch information
comp500 committed Nov 30, 2021
1 parent 85ccfc4 commit f682820
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 17 deletions.
16 changes: 2 additions & 14 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -42,19 +42,7 @@ dependencies {
// PSA: Some older mods, compiled on Loom 0.2.1, might have outdated Maven POMs.
// You may need to force-disable transitiveness on them.

// Use development builds of Sodium on the main branch
if (grgit != null && grgit.branch.current().name.contains("/main")) {
// Note: yarn version must be the same as Indium's dev env
// Jitpack doesn't work with Gradle 7, so this is the easiest solution
implementation("me.jellysquid.mods:sodium-fabric") {
version {
branch = "1.18.x/dev"
}
transitive = false
}
} else {
modImplementation "maven.modrinth:sodium:mc1.18-pre8-0.4.0alpha4"
}
modImplementation "maven.modrinth:sodium:mc1.18-0.4.0-alpha5"

// Transitive dependency of Sodium
implementation("org.joml:joml:1.10.2")
Expand All @@ -75,7 +63,7 @@ tasks.withType(JavaCompile).configureEach {
// If Javadoc is generated, this must be specified in that task too.
it.options.encoding = "UTF-8"

// Minecraft 1.17 (21w19a) upwards uses Java 16.
// Minecraft 1.18 upwards uses Java 17.
it.options.release = 17
}

Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ minecraft_version=1.18-rc3
yarn_mappings=1.18-rc3+build.1
loader_version=0.12.5
# Mod Properties
mod_version=1.0.1
mod_version=1.0.2
maven_group=link.infra
archives_base_name=indium
# Dependencies
# check this on https://modmuss50.me/fabric.html
fabric_version=0.41.1+1.18
fabric_version=0.43.1+1.18
2 changes: 1 addition & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"depends": {
"fabricloader": ">=0.8.0",
"minecraft": "1.18.x",
"sodium": "~0.4.0",
"sodium": "0.4.0-alpha5",
"fabric-renderer-api-v1": ">=0.3.0"
}
}

0 comments on commit f682820

Please sign in to comment.