Official Mojang Mappings support

# Please read and understand the EULA before using!

Use in your build.gradle with the following:

`mappings minecraft.officialMojangMappings()`

To automatically migrate to Mojang mappings run the following:

`gradlew.bat migrateMappings --mappings "net.mojang.minecraft:mappings:1.16.2"`

Co-authored-by: Ramid Khan <ramidzkh@gmail.com>
This commit is contained in:
modmuss50
2020-08-24 22:12:26 +01:00
parent c4f25622a2
commit 9029a699d9
7 changed files with 331 additions and 21 deletions

View File

@@ -133,6 +133,10 @@ public abstract class DependencyProvider {
}
public Set<File> resolve() {
if (dependency instanceof SelfResolvingDependency) {
return ((SelfResolvingDependency) dependency).resolve();
}
return sourceConfiguration.files(dependency);
}