Change Gradle task 'build' to 'jar' in the readme.

Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
This commit is contained in:
Jeffrey Han 2015-08-27 14:24:25 -05:00
parent b54886a379
commit c4081c904b
2 changed files with 4 additions and 10 deletions

View File

@ -38,19 +38,20 @@ other game options can be accessed by clicking the "Other Options" button in
the song menu.
## Building
opsu! is distributed as both a Maven and Gradle project.
opsu! is distributed as both a [Maven](https://maven.apache.org/) and
[Gradle](https://gradle.org/) project.
### Maven
Maven builds are built to the `target` directory.
* To run the project, execute the Maven goal `compile`.
* To create a single executable JAR file, execute the Maven goal `package -Djar`.
* To create a single executable jar, execute the Maven goal `package -Djar`.
This will compile a jar to `target/opsu-${version}.jar` with the libraries,
resources and natives packed inside the jar.
### Gradle
Gradle builds are built to the `build` directory.
* To run the project, execute the Gradle task `run`.
* To create a single executable JAR file, execute the Gradle task `build`.
* To create a single executable jar, execute the Gradle task `jar`.
This will compile a jar to `build/libs/opsu-${version}.jar` with the libraries,
resources and natives packed inside the jar.

View File

@ -82,13 +82,6 @@
<artifactId>maven-shade-plugin</artifactId>
<version>2.4.1</version>
<configuration>
<!--
<artifactSet>
<excludes>
<exclude>*:*:natives*</exclude>
</excludes>
</artifactSet>
-->
<filters>
<filter>
<!-- Overwritten classes -->