Closed franrx closed 4 years ago
I'm trying to exclude my model and view classes from coverage report and it didn't work.
Here is my configuration.
junitJacoco { jacocoVersion = '0.8.5' // type String ignoreProjects = ['data', 'domain', 'profilelibrary', 'app'] // type String array excludes = [ '/R.class', '/R$*.class', '/$ViewInjector.*', '*/$ViewBinder.', '/BuildConfig.*', '/Manifest.', '/$Mapper.', '*/$View.*', ]// type String List includeNoLocationClasses = false // type boolean includeInstrumentationCoverageInMergedReport = false // type boolean }
We're just delegating and using what Gradle provides us. So either file there or ask on Stackoverflow.
I'm trying to exclude my model and view classes from coverage report and it didn't work.
Here is my configuration.
junitJacoco { jacocoVersion = '0.8.5' // type String ignoreProjects = ['data', 'domain', 'profilelibrary', 'app'] // type String array excludes = [ '/R.class', '/R$*.class', '/$ViewInjector.*', '*/$ViewBinder.', '/BuildConfig.*', '/Manifest.', '/$Mapper.', '*/$View.*', ]// type String List includeNoLocationClasses = false // type boolean includeInstrumentationCoverageInMergedReport = false // type boolean }