wala / WALA

T.J. Watson Libraries for Analysis, with frontends for Java, Android, and JavaScript, and may common static program analyses
http://github.com/wala/WALA
Eclipse Public License 2.0
762 stars 223 forks source link

Configuration cache warning from markdownlint task #1467

Closed msridhar closed 2 hours ago

msridhar commented 2 hours ago

With the latest master branch I only get one configuration cache warning when running ./gradlew build, which is great!

Here is the warning:

1 problem was found storing the configuration cache.
- Task `:markdownlint` of type `org.gradle.api.DefaultTask`: cannot serialize object of type 'org.gradle.api.internal.project.DefaultProject', a subtype of 'org.gradle.api.Project', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.11/userguide/configuration_cache.html#config_cache:requirements:disallowed_types

I don't think this is a big deal, but @liblit FYI in case you think this is worth tracking down or reporting upstream.

msridhar commented 2 hours ago

Nevermind @liblit already found this 🙂 https://github.com/appmattus/markdown-lint/issues/39

liblit commented 1 hour ago

We're tracking that bug report in our Use Gradle configuration cache project tracker. In fact, it's the only item left not marked as "Done".

We're also telling Gradle that we know that the configuration cache is not supported for this task, which is why you're seeing a warning instead of an error.

msridhar commented 1 hour ago

Awesome thanks!