Eclipse plugin excluding sources

Hi everyone,
I got the problem, that if i use the eclipse plugin, no excludes from the sourceset are generated.
So if i have

    main {
        java {
            srcDirs = ['../src/']
            exclude "src/com/some/package/"

the generated eclipse classpath only contains

```<classpathentry kind="src" path="src"/>```

Is there any way i can process the excludes and apply them to the classpath?

Thanks in advance for any suggestion.