How to exclude files from the scoverage

Hi, I was trying to improve the code coverage using scala3 by excluding the files that are not suitable for writing the test cases. properties(coverageExcludedFiles and coverageExcludedPackages) are supported by scala2 but not for scala3.
Is there any possibility to exclude or any alternative solutions to increase the coverage?