How can I publish a txt file to artifactory using gradle ?I am using 'artifactory-publish' plugin

How can I publish a txt file to artifactory using gradle ?I am using ‘artifactory-publish’ plugin.

Checkout example 52.4 on this page. http://www.gradle.org/docs/current/userguide/artifact_management.html