Plugin Development: Specify keystore during test execution

Hi all,

How do I specify keystore during test execution while building my gradle plugin?

Modifying jre/lib/security/cacerts works but that’s clearly not the right approach Adding the following didn’t seem to work:

gradle test

gradle test

What’s the right way to add system properties to test execution, or am I using the wrong properties…



1 Like

You can set system properties for the test jvm as such:

test {
  systemProperty '', 'mystore.cacerts'
1 Like

Thanks Gary…that’s great.