Add test showing consuming a Groovy library may be broken The Java library, as well as the Java library plugins define a "classes" variant, …
Add test showing consuming a Groovy library may be brokenThe Java library, as well as the Java library plugins definea "classes" variant, that is "for runtime" use. There is, currently,no code that would explicitly require this variant. However, if, andonly if, a configuration is wired to do so, then Groovy classesbecome "invisible" to the consumer.This is similar to #7398 and #8788 but for "runtime" use. This didn'tsurface as a problem because for runtime we always ask for jars, sothe test is here to prove that if we ask for a more specific variantthen we have the problem.