Updated Forge compilation to ForgeGradle.

This commit is contained in:
sk89q
2014-04-05 19:33:05 -07:00
parent e0a2873c99
commit 69797cfbea
11 changed files with 467 additions and 66 deletions

44
pom.xml
View File

@@ -135,6 +135,13 @@
<type>jar</type>
</dependency>
<!-- @Nullable etc. -->
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>1.3.9</version>
</dependency>
<!-- Used for time operations -->
<dependency>
<groupId>com.sk89q</groupId>
@@ -539,43 +546,6 @@
</build>
</profile>
<!--
=====================================
Forge
=====================================
-->
<profile>
<id>forge</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.7</version>
<executions>
<execution>
<phase>compile</phase>
<configuration>
<target>
<property name="maven.build.directory" value="${project.build.directory}" />
<property name="jchronic.path" value="${maven.dependency.com.sk89q.jchronic.jar.path}" />
<property name="truezip.path" value="${maven.dependency.de.schlichtherle.truezip.jar.path}" />
<property name="rhino.path" value="${maven.dependency.rhino.js.jar.path}" />
<property name="snakeyaml.path" value="${maven.dependency.org.yaml.snakeyaml.jar.path}" />
<property name="we.version" value="${project.version}" />
<ant antfile="src/forge/ant/build.xml" />
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<!--
=====================================
Attach docs and source