Skip to content

Commit

Permalink
Relocate sodium compability
Browse files Browse the repository at this point in the history
  • Loading branch information
dima-dencep committed Dec 8, 2023
1 parent 9e1fc60 commit b6f0930
Show file tree
Hide file tree
Showing 91 changed files with 25 additions and 17 deletions.
34 changes: 20 additions & 14 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,28 +31,34 @@ archivesBaseName = "${project.archives_base_name}-mc${project.minecraft_version}
version = project.mod_version
group = project.maven_group

sourceSets {
sodiumCompatibility {
java {
compileClasspath += main.compileClasspath
}
}

main {
java {
compileClasspath += sodiumCompatibility.output
runtimeClasspath += sodiumCompatibility.output
}
}
}


repositories {
mavenLocal()
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
content {
includeGroup "maven.modrinth"
}
}
maven { url "https://maven.blamejared.com/" }
maven {
url "https://maven.su5ed.dev/releases"
url "https://maven.blamejared.com/"
}
}

dependencies {
minecraft "com.mojang:minecraft:${project.minecraft_version}"
minecraft "com.mojang:minecraft:${minecraft_version}"
mappings loom.officialMojangMappings()
forge "net.minecraftforge:forge:${minecraft_version}-${forge_version}"

//modCompileOnly "maven.modrinth:rubidium:0.7.1"
modCompileOnly "org.embeddedt:embeddium-1.20.1:0.2.12-git.149aa28+mc1.20.1"

modCompileOnly "org.embeddedt:embeddium-${minecraft_version}:${embeddium_version}"
}

processResources {
Expand Down
8 changes: 5 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
# Done to increase the memory available to gradle.
org.gradle.jvmargs=-Xmx3G

loom.platform = forge

# Fabric Properties
# check these on https://fabricmc.net/develop
minecraft_version=1.20.1
forge_version= 47.2.0

# Mod Properties
mod_version = 1.6.9
maven_group = net.coderbot
archives_base_name = oculus

forge_version= 47.2.0

loom.platform=forge
# Dependencies
embeddium_version=0.2.12-git.149aa28+mc1.20.1

0 comments on commit b6f0930

Please sign in to comment.