Explained why we use env variable in ReleaseNeededTask
@@ -26,6 +26,9 @@ public class ReleaseNeededTask extends DefaultTask {
private final static Logger LOG = Logging.getLogger(ReleaseNeededTask.class);
+ //We are using environment variable instead of system property or Gradle project property here
+ //It's easier to configure Travis CI matrix builds using env variables
+ //For reference, see the ".travis.yml" of Mockito project
private final static String SKIP_RELEASE_ENV = "SKIP_RELEASE";
private final static String SKIP_RELEASE_KEYWORD = "[ci skip-release]";
