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
When the buildCache is configured to use remote(develocity.buildCache), and the develocity-agent-adapters library is loaded in a different classloader to the core DV plugin, then attempting to instantiate DevelocityBuildCacheAdapter will result in a ClassCastException. This is the result of the DevelocityBuildCache class not being shared between the 2 classloaders.
To fix this, we will need to proxy any build-cache adapter calls between the classloaders, in a similar way that we already to for the DevelocityExtention.
The text was updated successfully, but these errors were encountered:
When the buildCache is configured to use
remote(develocity.buildCache)
, and thedevelocity-agent-adapters
library is loaded in a different classloader to the core DV plugin, then attempting to instantiateDevelocityBuildCacheAdapter
will result in aClassCastException
. This is the result of theDevelocityBuildCache
class not being shared between the 2 classloaders.To fix this, we will need to proxy any build-cache adapter calls between the classloaders, in a similar way that we already to for the
DevelocityExtention
.The text was updated successfully, but these errors were encountered: