File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
main/java/fr/flowarg/flowupdater/versions
test/java/fr/flowarg/flowupdater Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ protected ModLoaderLauncherEnvironment makeCommand(@NotNull Path patchedInstalle
188188 {
189189 final List <String > command = new ArrayList <>();
190190 command .add (this .javaPath );
191- command .add ("-Xmx256M " );
191+ command .add ("-Xmx512M " );
192192 command .add ("-jar" );
193193 command .add (patchedInstaller .toAbsolutePath ().toString ());
194194 command .add ("--installClient" );
Original file line number Diff line number Diff line change @@ -161,6 +161,12 @@ public void testWithFabric() throws Exception
161161 @ Test
162162 public void testWithQuilt () throws Exception
163163 {
164+ if (Integer .parseInt (System .getProperty ("java.version" ).split ("\\ ." )[0 ]) < 17 )
165+ {
166+ System .out .println ("Skipping test with Quilt because Java version is < 17" );
167+ return ;
168+ }
169+
164170 boolean error = false ;
165171 try
166172 {
@@ -232,7 +238,7 @@ public void testWithNeoForgeUsage() throws Exception
232238 .withName (vanilla )
233239 .build ();
234240
235- final AbstractForgeVersion forgeVersion = new ForgeVersionBuilder (ForgeVersionType .NEW )
241+ final AbstractForgeVersion forgeVersion = new ForgeVersionBuilder (ForgeVersionType .NEO_FORGE )
236242 .withForgeVersion (vanillaForge )
237243 .build ();
238244
You can’t perform that action at this time.
0 commit comments