change outputDirectory's default value to ${project.build.directory}/generated-sources/dart/dart2js