You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bclinthall edited this page Mar 7, 2017
·
10 revisions
Using gradle
Run gradle test to test. It won’t mention the tests unless one fails. If one fails, it will tell you which one, and also tell you how to get more information.
gradle build builds the project into a jar file. The jar will be at <project-root>/build/libs/scatt.jar
You can run the jar by going there and calling java -cp scatt.jar Scatt
gradle check runs checkstyle. The checkstyle.xml should be in <project-root>/config/ When checkstyle fails, a report is generated and stored in <project-root>/build/reports/checkstyle/
All the magic happens in the build.gradle file in the project root. I added one line there to enable checkstyle in gradle, and another to allow us to use org.json.* for parsing. It really feels like magic.