This message was deleted.
# community-support
s
This message was deleted.
n
Copy code
configurations {
    configureEach {
        resolutionStrategy {
            eachDependency {
                // Let's never leak test frameworks on our runtimeClasspath again.
                if (requested.name == "groovy-all") {
                    throw RuntimeException("Don't ever use `groovy-all`. Use `groovy` directly and declare extra modules as needed.")
                }
            }
        }
    }
}
We do this for
groovy-all
, I believe you can do the same for a group with
requested.group
👍 1