This project contains a very simple demo of the dagger.io java SDK. It reproduces the dagger sample code visible on the dagger homepage.
The Java SDK is part of the dagger/dagger git repository.
Build the Java SDK according to the documentation
Make sure that you install it to your local maven cache.
$ ./gradlew build
Run the demo code
$ ./gradlew run
To run a Java pipeline the Java SDK is needed as jar file containing all dependencies.
This self-contained jar can be built with this command:
$ ./gradlew customFatJar
The following command uses the Dagger CLI to start the demo code:
$ dagger run java -cp app/build/libs/all-in-one-jar.jar org.chelonix.dagger.demo.App