Updated gradle files so that the java plugin applies per problem and only the version is specified in the master gradle file