i want to exclude a specific module for a group of dependencies. But below syntax is not working. Am forced to declare multiple compile dependencies each time adding exclude for them. Can I modify the below syntax to something else to make it work?
compile(
"group1:module1:version1",
"group1:module2:version2",
"group1:module3:version3"
) {
exclude module: 'notrequiredModule'
}