Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding gradle build support to the project. #92

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mbjarland
Copy link

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.

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/
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.
@patric-r
Copy link
Owner

patric-r commented Dec 2, 2016

Thank you for your PR!
Some time ago, we migrated to maven.

Please excuse my question:
What benefits do you expect from additionally supporting gradle, and are they worth maintaining two build systems?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants