Copy single folder into sourceDirs


(Kiro Gicko) #1

Hello Gradle Forum

I’m trying to get one folder from another directory into my Ressource, but it only copies the content of my folder.
Include doesn’t work

this is what I’m doing now.

sourceSets {
main
        {
            resources {
                srcDirs =
                        ['src/main/resources/MyFolder']

            }
        }

Thanks a lot for your help