User Tools

Site Tools


tutorial:migratemappings

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
tutorial:migratemappings [2022/10/25 19:02] – [Loom 0.2.6 and above] mineblock11tutorial:migratemappings [2022/10/26 14:52] nexus-dino
Line 9: Line 9:
 Say you want to migrate from 1.16.5 yarn to 1.17.1 yarn. Say you want to migrate from 1.16.5 yarn to 1.17.1 yarn.
  
-  - Go [[https://fabricmc.net/versions.html|here]], select the version to migrate to, and copy the Gradle command under "Mappings Migration", for example ''gradlew migrateMappings %%--%%mappings %%"%%1.17.1+build.40%%"%%'' DO NOT modify your gradle.properties or build.gradle yet.   +  - Go [[https://fabricmc.net/develop|here]], select the version to migrate to, and copy the Gradle command under "Mappings Migration", for example ''gradlew migrateMappings %%--%%mappings %%"%%1.17.1+build.40%%"%%'' DO NOT modify your gradle.properties or build.gradle yet.   
   - Run the command in the root of your Gradle project.   - Run the command in the root of your Gradle project.
   - Your migrated sources will appear in ''remappedSrc''. Verify that the migration produced valid migrated code.   - Your migrated sources will appear in ''remappedSrc''. Verify that the migration produced valid migrated code.
tutorial/migratemappings.txt · Last modified: 2022/12/22 16:23 by basil4088