Skip to content

Commit

Permalink
fix samples after renaming script
Browse files Browse the repository at this point in the history
  • Loading branch information
bkeepers committed Apr 17, 2015
1 parent 8a42f76 commit ef49fe4
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions samples/Groovy/build.gvy
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
task echoDirListViaAntBuilder() {
description = 'Uses the built-in AntBuilder instance to echo and list files'
//Docs: http://ant.apache.org/manual/Types/fileset.html

//Echo the Gradle project name via the ant echo plugin
ant.echo(message: project.name)
ant.echo(path)
ant.echo("${projectDir}/samples")

//Gather list of files in a subdirectory
ant.fileScanner{
fileset(dir:"samples")
}.each{
//Print each file to screen with the CWD (projectDir) path removed.
println it.toString() - "${projectDir}"
}
}
File renamed without changes.

0 comments on commit ef49fe4

Please sign in to comment.