This is probably ok, the concern I have is that this may preclude the desired runtime dependencies.  This is definitely easier than one-by-one but you can't see what you may have missed when attempting to shadow with ${gt.version} (currently 9.2)