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. the song menu.
## Building ## 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
Maven builds are built to the `target` directory. Maven builds are built to the `target` directory.
* To run the project, execute the Maven goal `compile`. * 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, This will compile a jar to `target/opsu-${version}.jar` with the libraries,
resources and natives packed inside the jar. resources and natives packed inside the jar.
### Gradle ### Gradle
Gradle builds are built to the `build` directory. Gradle builds are built to the `build` directory.
* To run the project, execute the Gradle task `run`. * 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, This will compile a jar to `build/libs/opsu-${version}.jar` with the libraries,
resources and natives packed inside the jar. resources and natives packed inside the jar.

View File

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