Use Gradle's inner dependecy model to figure out what needs to be rebuilt with Maven