Exclude of non-related class in gradle showing coverage in sonar dashboard

I haven’t checked that but i have many projects repository so that developers can add their exclusion in build.gradle. Otherwise i need to configure exclusion for all the projects in UI.