Made fields optional in build plugins. 

Fixed defaulting of route in Maven plugin. 
Made file and route optional in Gradle plugin.