Fork of the repository https://github.com/napstr/gradle-composite-classifiers It contains a workaround to make the composite substitution working. cd ../projectB && ./gradlew build