Created
May 17, 2019 08:51
-
-
Save cdsap/f26315b54731fda26e5d3da313060067 to your computer and use it in GitHub Desktop.
GradleValues
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
def taskProducer = tasks.register("taskProducer", TaskProducer) { | |
output.set(new File(project.buildDir, "test.log")) | |
} | |
def artifact = taskProducer.flatMap { it.output } | |
tasks.register("taskConsumer", TaskConsumer) { | |
input.set(artifact) | |
showFile() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment