hoarder icon indicating copy to clipboard operation
hoarder copied to clipboard

Include JDK version and java target version in cache identifier

Open spockz opened this issue 5 years ago • 2 comments

Currently caches, e.g. with stash, are scoped to the project name and the major scala version. This should probably be the full scala compiler version and include the version of the JDK, as well as the java target version.

spockz avatar Mar 09 '19 13:03 spockz

I can see your point why we would like to scope it with full compiler version and jdk version but the only reason why have automatic scoping by scala binary version is to support cross compilation so you can invoke +stash and +stashApply. I think I can make those default prefix configurable.

romanowski avatar Mar 16 '19 07:03 romanowski

Having it configurable would be optimal. Then everyone can determine their own.

spockz avatar Mar 16 '19 08:03 spockz