You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But with Gradle 7.6-20221014231703+0000 it has the following output:
:compileJava SKIPPED
:bar SKIPPED
The issue is that the bar task adds java.sourceSets.main.output.classesDirs to its input, which has a dependency on the classes task in Gradle 7.4, but has a dependency on only the javaCompile task starting with Gradle 7.6-20221014231703+0000.
The text was updated successfully, but these errors were encountered:
…sses dirs
Create 'getClassesDirsInternal' which does not carry a dependency on the source set. We use it internally to avoid triggering :classes and :processResources when just building the classes.
Fixes: #22484
Reverts change from: 4d1aadc
Co-authored-by: Justin Van Dort <jvandort@gradle.com>
Breaking change starting with Gradle 7.6-20221014231703+0000.
See this AGP bug for context.
java.sourceSets.main.output.classesDirs
no longer depends on theclasses
task.In the attached bug_repro.zip, running
./gradlew bar --dry-run
has the following output with Gradle 7.4:But with Gradle 7.6-20221014231703+0000 it has the following output:
The issue is that the bar task adds
java.sourceSets.main.output.classesDirs
to its input, which has a dependency on theclasses
task in Gradle 7.4, but has a dependency on only thejavaCompile
task starting with Gradle 7.6-20221014231703+0000.The text was updated successfully, but these errors were encountered: