The pure analysis you cannot really speed up with Gradle features, as the state of the rules and the tool versions and so on are downloaded from the SonarQube server and can change anytime. But the preliminary work like compiling the code and running the tests can surely benefit from build cache, yes.