What's the different between all*.exclude and all.exclude in configurations.all
问题 I want to know what exactly different between all*.exclude and all.exclude in configurations.all when you want to exclude dependencies configurations.all { all.exclude all*.exclude group: 'org.json', module: 'json' } 回答1: The correct syntax is: Using the all method configurations.all { exclude group: 'org.json', module: 'json' } OR Using the all property configurations { all*.exclude(group: 'org.json', module: 'json') } The all property holds a list of all configuration objects within the