o build an executable jar file using './gradlew' on osx/*nix
or './gradlew.bat' on windows (no arguments). This will create
an executable jar file at build/libs/. No gradle installation is
required, it will be auto-downloaded on first-call as long as
JAVA_HOME is set.
o we are using gradle 2.14.1 as that is the latest version of gradle
which supports java 6 as the build VM. This is to maximize compatibility
with whoever is building the project.
o we are using the gradle shadow plugin to build an executable jar file
o I modified the default location of the gradle wrapper file
(gradle/wrapper/gradle-wrapper.jar) as having another thing in the
root directory called gradlexx screws up tab completion for the
./gradlew commands.
o the build.gradle file contains a few comments and links on the
rest of the details.
o the 'gradlew' and 'gradlew.bat' files are auto generated by the gradle wrapper.
See relevant link in build.gradle for details.
o build only tested on java 6, but I would assume it works on later versions.
A few notes on this commit:
o build an executable jar file using './gradlew' on osx/*nix or './gradlew.bat' on windows (no arguments). This will create an executable jar file at build/libs/. No gradle installation is required, it will be auto-downloaded on first-call as long as JAVA_HOME is set. o we are using gradle 2.14.1 as that is the latest version of gradle which supports java 6 as the build VM. This is to maximize compatibility with whoever is building the project. o we are using the gradle shadow plugin to build an executable jar file o I modified the default location of the gradle wrapper file (gradle/wrapper/gradle-wrapper.jar) as having another thing in the root directory called gradlexx screws up tab completion for the ./gradlew commands. o the build.gradle file contains a few comments and links on the rest of the details. o the 'gradlew' and 'gradlew.bat' files are auto generated by the gradle wrapper. See relevant link in build.gradle for details. o build only tested on java 6, but I would assume it works on later versions.