Remove Gradle default Source Sets
<p>I'm trying to run gradle to generate an eclipse project. </p>

<p>I'd like the following structure:</p>

<pre><code>project
└── src 
    ├── main 
    │   ├── ...
    │   ├── ...
    │   └── ...
    └── test 
        ├── ...
        ├── ...
        └── ...
</code></pre>

<p>Here is the relevant part of my <code>build.gradle</code>:</p>

<pre><code>sourceSets {
    main {
        java {
            srcDir 'main'
        }
    }
    test {
        resources {
            srcDir 'test'
        }
    }
}
</code></pre>

<p>It generates this <code>.classpath</code>:</p>

<pre><code>    &lt;classpathentry kind="src" path="src/main"/&gt;
    &lt;classpathentry kind="src" path="src/test"/&gt;
    ...
    &lt;classpathentry kind="src" path="src/main/java"/&gt;
    &lt;classpathentry kind="src" path="src/test/java"/&gt;
</code></pre>

<p>This seems to be confusing eclipse. I'd like to remove the default source sets in gradle (I think that's the solution) which will generate a proper <code>.classpath</code>.</p>