Skip to content

7. Building Source Code

Dalton Smith edited this page Feb 7, 2019 · 3 revisions

This document assumes you have basic knowledge of git, github, terminal/command line, and Java.

Prerequisites:
Java 8 JDK or Java 11 JDK
Internet
Git

Cloning Repository

git clone https://github.com/Daltz333/GrizzlyTime-JavaFX.git
cd GrizzlyTime

Getting Google Sheets API Credentials

  • Head over to the google sheets API quickstart page
  • Click the Enable the Google Sheets API
  • Download the credentials.json that it prompts you to download
  • Place the credentials.json in the src/main/resources/credentials/ directory

Java 11 Support

  • Uncomment all commented lines in the build.gradle for Java 11 support

Compiling the code

gradlew shadowJar

Built Jar

The built jar is located in the build/libs/ directory