Thanks for letting know the options

On Monday, January 28, 2019 at 8:56:19 PM UTC+5:30, Evgeny Mandrikov wrote:
>
>
>
> On Monday, January 28, 2019 at 4:19:59 PM UTC+1, rsiva wrote:
>>
>> Thanks for your reply. 
>> *you can simply remove unwanted files from analyzed directory,*
>> So in my pipeline, the only option I could use is removing the classfiles 
>> to be excluded before running the stage to generate coverage.
>>
>> Also, the classDirectories option you were referring to  - the parameter 
>> is to say what classes are to be included.
>> In my case, there are lots of folders to include and only 2 folders to 
>> exclude - so this won't be fulfilling my need
>>
>
> Looks like you underestimate power of Gradle - see 
> https://docs.gradle.org/current/dsl/org.gradle.api.Project.html#org.gradle.api.Project:fileTree(java.lang.Object)
>  
> :
>
> classDirectories = fileTree(dir: someDirectory, exclude: ['something/**'])
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"JaCoCo and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jacoco/d9a2d108-79bf-4e52-ba9e-0946a66b176d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to