A project that depends on external sources using the incubating support for source dependencies:
- external/ implements the main algorithm to compute the answer to the ultimate question of Life, the Universe and Everything
- sample/ implements the command line interface
This sample uses a local Git repository, a realistic example would use a remote one.
cd external && ./gradlew generateGitRepo first to generate the local repository.
Then run with:
cd sample ./gradlew run
And check compilation dependencies with:
cd sample ./gradlew dependencies --configuration compileClasspath