Reputation: 126
Trying to build C++ multipart project. I have this in settings.gradle:
include 'Common', 'Base'
Gradle build this in alphabetical order:
I need the opposite:
Upvotes: 0
Views: 201
Reputation: 126
It turns out that in each gradle file you need to add dependency (i.e. projects you want to be built before this one)
dependencies {
implementation project(':Common')
}
and then gradle creates correct build graph.
Upvotes: 1