Exclude some modules from gradle file