File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
json-data-utils/src/main/java/net/minecraftforge/util/data/json Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 44 */
55package net .minecraftforge .util .data .json ;
66
7+ import org .jetbrains .annotations .ApiStatus ;
8+ import org .jetbrains .annotations .Nullable ;
9+
710import java .util .Collections ;
811import java .util .List ;
912import java .util .Map ;
@@ -81,6 +84,9 @@ public static class V2 extends PatcherConfig {
8184 public Boolean notchObf ; //This is a Boolean so we can set to null and it won't be printed in the json.
8285 public List <String > universalFilters ;
8386 public List <String > modules ; // Modules passed to --module-path
87+ @ Deprecated
88+ @ ApiStatus .ScheduledForRemoval (inVersion = "V3" )
89+ public ScopedDependencies extraDependencies ;
8490 public String sourceFileCharset ; // = StandardCharsets.UTF_8.name();
8591
8692 public V2 (PatcherConfig o ) {
@@ -109,5 +115,11 @@ public static class DataFunction extends Function {
109115 public boolean notchObf () {
110116 return this .notchObf != null && this .notchObf ;
111117 }
118+
119+ public final static class ScopedDependencies {
120+ public @ Nullable List <String > runtimeOnly ;
121+ public @ Nullable List <String > compileOnly ;
122+ public @ Nullable List <String > annotationProcessor ;
123+ }
112124 }
113125}
You can’t perform that action at this time.
0 commit comments