Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Example of finding files in source sets.

  • Loading branch information...
commit b7123068db8df00196c7670fbe05ebd5df5ee2e8 1 parent 13f1943
@NathanNeff authored
View
5 misc/build.gradle
@@ -15,3 +15,8 @@ task "create-dirs" << {
sourceSets*.java.srcDirs*.each { it.mkdirs() }
sourceSets*.resources.srcDirs*.each { it.mkdirs() }
}
+
+task 'mainFiles' << {
+ def fileCol = files("Misc.java", "Something.java")
+ println fileCol.asPath
+}
View
4 misc/src/com/nateneff/something/Something.java
@@ -0,0 +1,4 @@
+public class Something {
+ String firstThing;
+ String nextThing;
+}
Please sign in to comment.
Something went wrong with that request. Please try again.