Getting Jar Hell

This is the gradle task to run tests
For that I thought of specifying

jvmArgs '-ea'

How to run test in intellij so that they dont give the error.
I have also tried adding -ea in VM Options of Junit in Run->Edit Configurations. Still the same error.

PS: pardon me, I also don't understand the repository fully as I am new to it and had been assigned to do some work on it.