Skip to content

Commit

Permalink
Merge pull request #138 from MattSturgeon/parchment
Browse files Browse the repository at this point in the history
Add Parchment mappings layer
  • Loading branch information
hashalite authored Jan 4, 2024
2 parents b3c0729 + b22f32f commit fd986e5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 8 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,14 @@ subprojects {
}

dependencies {
def parchmentAppendix = rootProject.parchment_version.split('-')[0]
def parchmentVersion = rootProject.parchment_version.split('-')[1]

minecraft "com.mojang:minecraft:${rootProject.minecraft_version}"
mappings loom.officialMojangMappings()
mappings loom.layered() {
officialMojangMappings()
parchment("org.parchmentmc.data:parchment-${parchmentAppendix}:${parchmentVersion}@zip")
}
// modLocalRuntime "com.ptsmods:devlogin:${rootProject.devlogin_version}"
}
}
Expand All @@ -75,6 +81,7 @@ allprojects {
// See https://docs.gradle.org/current/userguide/declaring_repositories.html
// for more information about repositories.
mavenCentral()
maven { url "https://maven.parchmentmc.org/" }
maven { url "https://maven.neoforged.net/releases/" }
maven { url "https://maven.shedaniel.me/" }
maven { url "https://maven.terraformersmc.com/" }
Expand Down
2 changes: 2 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@ build_variants=normal,modrinth
# https://discord.architectury.dev
# https://modmuss50.me/fabric.html
# https://projects.neoforged.net/neoforged/neoforge
# https://maven.parchmentmc.org/org/parchmentmc/data
# Forge dependencies use maven's version range spec:
# https://maven.apache.org/enforcer/enforcer-rules/versionRanges.html
minecraft_version=1.20.4
parchment_version=1.20.2-2023.12.10

fabric_loader_version=0.15.3
fabric_api_version=0.91.2+1.20.4
Expand Down

0 comments on commit fd986e5

Please sign in to comment.