phil swenson wrote:
>
> So how do I convert an InputStream into either a File or a String?
>
These are all Java/Groovy questions and not related to Gradle, but here is
one way to do it in Groovy:
def str = stream.getText("utf-8")
--
Peter Niederwieser
Developer, Gradle
http://www.gradle.org
Trainer & Consultant, Gradleware
http://www.gradleware.com
Creator, Spock Framework
http://spockframework.org
--
View this message in context:
http://gradle.1045684.n5.nabble.com/referencing-a-resource-in-gradle-tp4359379p4359764.html
Sent from the gradle-user mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email