can I programatically get the fingerprint of a `Di...
# community-support
a
can I programatically get the fingerprint of a
DirectoryProperty
or
Provider<FileSystemLocation>
that Gradle uses for up-to-date checks? I'm using a Configuration to share a files between subprojects. The Configuration contains a some directories, and a JSON file that describes some config and lists the directories. The receiving subproject has a task that uses the config file as well as the directories. It would be convenient if I could add the fingerprint of the directories to the config file, so that the receiving task will be up-to-date. Otherwise, I have to set up task inputs, or manually compute an md5 for the directories, and I'd lose Gradle's file normalization.
👀 1