File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/legacy/java/net/neoforged/moddevgradle/legacyforge Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -43,14 +43,14 @@ public Obfuscation(Project project,
43
43
}
44
44
45
45
@ ApiStatus .Internal
46
- public void configureAutoRenamingToolOperation (RemapOperation operation ) {
46
+ public void configureSrgToNamedOperation (RemapOperation operation ) {
47
47
operation .getToolType ().set (RemapOperation .ToolType .ART );
48
48
operation .getToolClasspath ().from (autoRenamingToolRuntime );
49
49
operation .getMappings ().from (officialToSrg );
50
50
}
51
51
52
52
@ ApiStatus .Internal
53
- public void configureInstallerToolsOperation (RemapOperation operation ) {
53
+ public void configureNamedToSrgOperation (RemapOperation operation ) {
54
54
operation .getToolType ().set (RemapOperation .ToolType .INSTALLER_TOOLS );
55
55
operation .getToolClasspath ().from (installerToolsRuntime );
56
56
operation .getMappings ().from (mappingsCsv );
@@ -76,7 +76,7 @@ public TaskProvider<RemapJar> reobfuscate(TaskProvider<? extends AbstractArchive
76
76
task .getArchiveClassifier ().convention (jar .flatMap (AbstractArchiveTask ::getArchiveClassifier ));
77
77
task .getArchiveAppendix ().convention (jar .flatMap (AbstractArchiveTask ::getArchiveAppendix ));
78
78
task .getLibraries ().from (sourceSet .getCompileClasspath ());
79
- configureAutoRenamingToolOperation (task .getRemapOperation ());
79
+ configureSrgToNamedOperation (task .getRemapOperation ());
80
80
configuration .execute (task );
81
81
});
82
82
Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ public void apply(Project project) {
121
121
122
122
project .getDependencies ().registerTransform (RemappingTransform .class , params -> {
123
123
params .parameters (parameters -> {
124
- obf .configureInstallerToolsOperation (parameters .getRemapOperation ());
124
+ obf .configureNamedToSrgOperation (parameters .getRemapOperation ());
125
125
parameters .getMinecraftDependencies ().from (remapDeps );
126
126
});
127
127
params .getFrom ()
You can’t perform that action at this time.
0 commit comments