Gradle init does not generate sourcesets from pom.xml

I use gradle 2.14 and maven 3.3.9
I have a maven eclipse project which pom.xml contains the paths to the source folders.

Running gradle init or gradle init -type java-library, in the project’s folder will create a build.gradle script but no sourceSets are specified.

Any help is appreciated.
Thanks.