Run gradle task on subproject

Just prepend “projectname:” before task name. Example:

gradle mysubproject1:test
Tags:  Gradle  Java