This message was deleted.
# community-support
s
This message was deleted.
a
Maybe I can use a FileTree which extends FileCollection, and then filter.
v
Is this a good place to ask really basic build.gradle in groovy questions?
Definitely 🙂 First recommendation of course is, to not use Groovy DSL, but Kotlin DSL. 😄 It is the default by now, you immediately get type-safe build scripts, you get actually helpful error messages if you mess up the syntax, and you get amazingly better IDE support when using a proper IDE like IntelliJ IDEA or Android Studio.
Maybe I can use a FileTree which extends FileCollection, and then filter.
Probably, yeah, with something like
Copy code
from(zipTree(fileTree(".").matching { include("project-lib-*.zip") }.singleFile))
But the question is, whether you should really do that. 😄 Besides that in most situations a
Sync
task is more appropriate than a
Copy
task. 🙂
a
Thanks Vampire. Very helpful.
👌 1