Created
April 10, 2017 09:08
-
-
Save manuc66/8294a7d2a125cd8af2415df7ff192b99 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File outputFile = project.file(filename) | |
outputFile.newOutputStream().with { OutputStream os -> | |
new PrintStream(new FileOutputStream(outputFile)).with { PrintStream ps -> | |
def result = buildBaseObject() | |
reporter.write(ps, result) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment