public class GradleBuildProjectContributor extends Object implements BuildWriter, ProjectContributor
ProjectContributor for the project's main build file.| Modifier and Type | Method and Description |
|---|---|
void |
contribute(Path projectRoot)
Contribute additional resources to the project in the specified root directory.
|
void |
writeBuild(Writer out)
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetOrderpublic void contribute(Path projectRoot) throws IOException
ProjectContributorcontribute in interface ProjectContributorprojectRoot - the root directory of the projectIOException - if contributing a resource failedpublic void writeBuild(Writer out) throws IOException
BuildWriterwriteBuild in interface BuildWriterout - the writer to useIOException - if writing the build to out failedCopyright © 2020 Pivotal Software, Inc.. All rights reserved.