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
Changes to sources added by the Android Gradle plugin to AndroidJavaCompile.getSources() are ignored for incremental Java compilation in Gradle 6.0. When changing a source file, the output is something like this:
> Task :mylibrary1:compileReleaseJavaWithJavac UP-TO-DATE
Task :mylibrary1:compileReleaseJavaWithJavac in app Starting
Build cache key for task ':mylibrary1:compileReleaseJavaWithJavac' is 669111c814f7b237087e6a217a4ff93a
Task ':mylibrary1:compileReleaseJavaWithJavac' is not up-to-date because:
Input property 'sources' file /home/user/test/mylibrary1/src/main/java/com/test/mylibrary1/LibClass.java has changed.
Note that there isn't a mention of the input property stableSources, which is actually tracked for changes. Not the property source of the SourceTask is mentioned.
The text was updated successfully, but these errors were encountered:
So it doesn't try to run on pre 5.x versions. PathSensitivity has been
introduced in 3.1, though it doesn't make much sense to run the test
pre 5.0.
#11330
See https://issuetracker.google.com/issues/144011039
Changes to sources added by the Android Gradle plugin to
AndroidJavaCompile.getSources()
are ignored for incremental Java compilation in Gradle 6.0. When changing a source file, the output is something like this:Note that there isn't a mention of the input property
stableSources
, which is actually tracked for changes. Not the propertysource
of theSourceTask
is mentioned.The text was updated successfully, but these errors were encountered: