Is there any possibility to exclude the files from code coverage in scala3 using sbt coverage

Hi,
I was trying tho exclude the files from code coverage in scala3. But scala3 doesn’t support this feature like scala2. Is there any alternative solution to exclude the files in scala3.