1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-01-13 02:40:28 +00:00

Switch mappings over to Parchment

These are still equivalent to the official mappings but also include
method names and javadoc. Yay!

A bit weird to be on versioned mappings after 8 months of MojMap :).!
This commit is contained in:
Jonathan Coates 2021-08-18 10:00:12 +01:00
parent 1d160641a4
commit 991ea6e829
No known key found for this signature in database
GPG Key ID: B9E431FF07C98D06
2 changed files with 8 additions and 7 deletions

View File

@ -1,13 +1,12 @@
buildscript { buildscript {
repositories { repositories {
mavenCentral() mavenCentral()
maven { maven { url = "https://maven.minecraftforge.net" }
name = "forge" maven { url = 'https://maven.parchmentmc.org' }
url = "https://maven.minecraftforge.net"
}
} }
dependencies { dependencies {
classpath 'net.minecraftforge.gradle:ForgeGradle:5.0.24' classpath 'net.minecraftforge.gradle:ForgeGradle:5.1.+'
classpath 'org.parchmentmc:librarian:1.+'
} }
} }
@ -23,6 +22,7 @@ plugins {
} }
apply plugin: 'net.minecraftforge.gradle' apply plugin: 'net.minecraftforge.gradle'
apply plugin: 'org.parchmentmc.librarian.forgegradle'
version = mod_version version = mod_version
@ -98,7 +98,7 @@ minecraft {
} }
} }
mappings channel: 'official', version: mc_version mappings channel: 'parchment', version: "${mapping_version}-${mc_version}"
accessTransformer file('src/main/resources/META-INF/accesstransformer.cfg') accessTransformer file('src/main/resources/META-INF/accesstransformer.cfg')
accessTransformer file('src/test/resources/META-INF/accesstransformer.cfg') accessTransformer file('src/test/resources/META-INF/accesstransformer.cfg')
@ -120,7 +120,7 @@ repositories {
configurations { configurations {
shade shade
compile.extendsFrom shade implementation.extendsFrom shade
cctJavadoc cctJavadoc
} }

View File

@ -3,5 +3,6 @@ mod_version=1.98.1
# Minecraft properties (update mods.toml when changing) # Minecraft properties (update mods.toml when changing)
mc_version=1.16.5 mc_version=1.16.5
mapping_version=2021.08.08
forge_version=36.1.0 forge_version=36.1.0
# NO SERIOUSLY, UPDATE mods.toml WHEN CHANGING # NO SERIOUSLY, UPDATE mods.toml WHEN CHANGING