8ff1d66ec9
A name of a cache directory produced by the compiler for a library is based on the unique name of this library. The cache task, when declaring its outputs, assumes that this unique name is equal to the name of the library file/directory. If this is not the case, the up-to-date check works inconsistently and Gradle doesn't rerun the task. This patch fixes this issue by obtaining the real unique name of the library.