Skip to content

Commit

Permalink
Build against Sodium 0.2.0 release from Modrinth
Browse files Browse the repository at this point in the history
  • Loading branch information
comp500 committed Jul 19, 2021
1 parent ce34c15 commit b4fce81
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ if (grgit != null) {
}
group = project.maven_group

repositories {
maven {
url = "https://api.modrinth.com/maven"
}
}

dependencies {
//to change the versions see the gradle.properties file
minecraft "com.mojang:minecraft:${project.minecraft_version}"
Expand All @@ -38,14 +44,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.

// 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.16.x/next"
}
transitive = false
}
modImplementation "maven.modrinth:sodium:mc1.16.5-0.2.0"
}

processResources {
Expand Down

0 comments on commit b4fce81

Please sign in to comment.