Added command line validator and task to gradlew. [Delivers #59838672]