-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support Minecraft 1.12.2, closes #12. Fix the GradleStart dependency …
…TODO
- Loading branch information
Showing
2 changed files
with
31 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
src/lib/java/net/minecraftforge/gradle/GradleStartCommon.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package net.minecraftforge.gradle; | ||
|
||
import java.util.List; | ||
import java.util.Map; | ||
|
||
/** | ||
* Stub GradleStartCommon class | ||
*/ | ||
public abstract class GradleStartCommon { | ||
|
||
protected abstract void setDefaultArguments(Map<String, String> argMap); | ||
|
||
protected abstract void preLaunch(Map<String, String> argMap, List<String> extras); | ||
|
||
protected abstract String getBounceClass(); | ||
|
||
protected abstract String getTweakClass(); | ||
|
||
protected void launch(String[] args) throws Throwable { | ||
throw new IllegalStateException("Tried to launch the stub GradleStartCommon class"); | ||
} | ||
|
||
} |