This repository has been archived by the owner on Feb 27, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 305
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unify Forge and Vanilla implementation. Closes #245.
Thanks to @Voltasalt for helping with this.
- Loading branch information
1 parent
7042866
commit 865d6ff
Showing
285 changed files
with
1,007 additions
and
22,038 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
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 |
---|---|---|
@@ -1,6 +1,3 @@ | ||
[submodule "SpongeAPI"] | ||
path = SpongeAPI | ||
url = git://github.com/SpongePowered/SpongeAPI.git | ||
[submodule "Mixin"] | ||
path = Mixin | ||
url = git://github.com/SpongePowered/Mixin.git | ||
[submodule "Common"] | ||
path = Common | ||
url = https://github.com/SpongePowered/SpongeCommon.git |
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 |
---|---|---|
@@ -1,12 +1,19 @@ | ||
sudo: false | ||
|
||
language: java | ||
jdk: | ||
- openjdk6 | ||
- openjdk7 | ||
- oraclejdk7 | ||
- oraclejdk8 | ||
|
||
git: | ||
submodules: false | ||
before_install: git submodule update --init --recursive | ||
|
||
env: GRADLE_OPTS="-Xms1g -Xmx3g" | ||
install: gradle setupCIWorkspace | ||
script: gradle build | ||
install: ./gradlew setupCIWorkspace | ||
script: ./gradlew build | ||
|
||
notifications: | ||
email: false |
Submodule Mixin
deleted from
49fd7e
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 |
---|---|---|
|
@@ -16,25 +16,25 @@ A Forge implementation of the Sponge API. It is licensed under the [MIT License] | |
|
||
## Clone | ||
The following steps will ensure your project is cloned properly. | ||
1. `git clone [email protected]:SpongePowered/Sponge.git` | ||
2. `cd Sponge` | ||
3. `git submodule update --init --recursive` | ||
4. `cp scripts/pre-commit .git/hooks` | ||
|
||
1. `git clone --recursive https://github.com/SpongePowered/Sponge.git` | ||
2. `cd Sponge` | ||
3. `cp scripts/pre-commit .git/hooks` | ||
|
||
## Setup | ||
__Note:__ If you do not have [Gradle] installed then use ./gradlew for Unix systems or Git Bash and gradlew.bat for Windows systems in place of any 'gradle' command. | ||
|
||
__For [Eclipse]__ | ||
1. Run `gradle setupDecompWorkspace --refresh-dependencies` | ||
2. Make sure you have the Gradle plugin installed (Help > Eclipse Marketplace > Gradle Integration Plugin) | ||
3. Import Sponge as a Gradle project (File > Import) | ||
4. Select the root folder for Sponge and click **Build Model** | ||
2. Run `gradle eclipse` | ||
3. Import Sponge as an existing project (File > Import > General) | ||
4. Select the root folder for Sponge and make sure `Search for nested projects` is enabled | ||
5. Check Sponge when it finishes building and click **Finish** | ||
|
||
__For [IntelliJ]__ | ||
1. Run `gradle setupDecompWorkspace --refresh-dependencies` | ||
2. Make sure you have the Gradle plugin enabled (File > Settings > Plugins). | ||
3. Click File > Import Module and select the **build.gradle** file for Sponge. | ||
3. Click File > New > Project from Existing Sources > Gradle and select the root folder for Sponge. | ||
|
||
## Running | ||
__Note:__ The following is aimed to help you setup run configurations for Eclipse and IntelliJ, if you do not want to be able to run Sponge directly from your IDE then you can skip this. | ||
|
@@ -72,7 +72,6 @@ __Server__ | |
| Working directory | ./run/server (Included in project) | | ||
| Module classpath | Sponge (IntelliJ Only) | | ||
|
||
|
||
## Building | ||
__Note:__ If you do not have [Gradle] installed then use ./gradlew for Unix systems or Git Bash and gradlew.bat for Windows systems in place of any 'gradle' command. | ||
|
||
|
Submodule SpongeAPI
deleted from
c931b7
Oops, something went wrong.