Integrating Gradle with Algorithm sub-project