Support Eclipse.

This commit is contained in:
ZekerZhayard 2020-02-09 11:34:40 +08:00
parent 1b50883f6d
commit 9f06151fca
3 changed files with 18 additions and 5 deletions

13
.gitignore vendored
View file

@ -1,4 +1,15 @@
.gradle .gradle
.idea
build build
# eclipse
.settings
.classpath
.project
bin
# idea
.idea
*.iml
*.ipr
*.iws
out out

View file

@ -7,9 +7,10 @@ Allow MultiMC to launch Minecraft 1.13+ with Forge.
1. Download Forge installer for Minecraft 1.13+ at [https://files.minecraftforge.net/]. 1. Download Forge installer for Minecraft 1.13+ at [https://files.minecraftforge.net/].
2. Download ForgeWrapper jar file at the [release](https://github.com/ZekerZhayard/ForgeWrapper/releases) page. 2. Download ForgeWrapper jar file at the [release](https://github.com/ZekerZhayard/ForgeWrapper/releases) page.
3. Run the below command in terminal: 3. Run the below command in terminal:
``` ```
java -jar <ForgeWrapper.jar> [--installer] <forge-installer.jar> [--instance <instance-path>] java -jar <ForgeWrapper.jar> [--installer] <forge-installer.jar> [--instance <instance-path>]
``` ```
*Notice: If you don't specify a MultiMC instance path, ForgeWrapper will create the instance folder in current working space.* *Notice: If you don't specify a MultiMC instance path, ForgeWrapper will create the instance folder in current working space.*
4. If the instance folder which just created is not in `MultiMC/instances` folder, you just need to move to the `MultiMC/instances` folder. 4. If the instance folder which just created is not in `MultiMC/instances` folder, you just need to move to the `MultiMC/instances` folder.
5. Run MultiMC, and you will see a new instance named `forge-<mcVersion>-<forgeVersion>`. 5. Run MultiMC, and you will see a new instance named `forge-<mcVersion>-<forgeVersion>`.

View file

@ -1,5 +1,6 @@
apply plugin: "base" apply plugin: "base"
apply plugin: "java" apply plugin: "java"
apply plugin: "eclipse"
apply plugin: "idea" apply plugin: "idea"
sourceCompatibility = targetCompatibility = 1.8 sourceCompatibility = targetCompatibility = 1.8