The integrationTest task in spring-boot-antlib uses sourceSets.main.runtimeClasspath as a files input but doesn't configure its normalisation as such. As a result build cache misses may occur when, in fact, the classpath is unchanged.