title: Convert Eclipse java project (with java source folder) to gradle project
body: <p>I want to migrate all my <strong>java projects</strong> (223 projects) to <strong>gradle project</strong>. 
  I'm using the Gradle Eclipse plugin, developed by the SpringSource STS team.</p>
  
  <p>Currently, all my java projets is strutured like that:</p>
  
  <pre><code>MyProjet/
  +- src/log
      +- some.package.log
      +- some.package.log.A
  +- src/tools/core
      +- some.package
      +- some.package.tools.B
      +- some.package.tools.C
  +- src/tools/graph
      +- some.package.graph
  +- src/tests
      +- some.package.test.D
  +- src/someModule
  
  +- otherDirectories
  </code></pre>
  
  <p>src/log, src/tools/core, src/tools/graph, src/tests and src/someModule are <strong>java source folders</strong>.</p>
  
  <p>After converting the project to gradle (via Configure -> "Convert to Gradle Project..."), all java source folders become packages.</p>
  
  <p>Also, the matter is that all declared packages in java classes must be modified. For example, Eclipse tell me that: 
  The declared package "some.package.test.tools.A" does not match the expected package "tests.some.package.test.tools.A" </p>
  
  <p>Eclipse give me the possibility to change the package declaration of a class. But I must do that for all classes (sometimes more than 100 classes for one project). </p>
  
  <p><strong>I want to know if there is a way to convert a java project (with java source folder) to a gradle project, without impacting all packages (I would like to avoid the operation that consist in modifiyng all classes)</strong></p>
  
  <p>Thank you in advance for help or any advices.</p>
  
  <p>Naike.</p>