title: Run JUnit test with external parameter using gradle
body: <p>I have a Gradle project, in which <strong><em>gradle test</em></strong> (from the Java plugin <a href="https://docs.gradle.org/current/dsl/org.gradle.api.tasks.testing.Test.html" rel="nofollow">https://docs.gradle.org/current/dsl/org.gradle.api.tasks.testing.Test.html</a>) would run JUnit tests. </p>
  
  <p>The test is using a network connection, and I need to pass to the test some hostname, parameter from command line of the test, preferably attached to gradle command line, or otherwise, editing build.gradle file. </p>
  
  <p>How I could pass to my test a certain string?</p>