Working through guava http://mvnrepository.com/artifact/com.google.guava
The build scripts are built around gradle. You can install gradle or use the provided version.
To install using brew, run brew install gradle
.
To install manually, goto gradle.
To use the provided version, instead of running gradle
, run ./g
If you use Eclipse, the gradle scripts are nice enough to create your project and classpath files.
The first time you open the project, first create the eclipse project files:
gradle eclipse
Now you can import the project into eclipse.
If you change dependencies, update the classpath:
gradle cleanEclipseClasspath eclipseClasspath
To compile:
gradle fatjar
java -cp build/libs/jar-starterkit.jar jayray.net.hello.HelloWorld
To compile:
gradle installApp
build/install/jar-starterkit/bin/jar-starterkit