Original:?
Gradle/maven/eclipse Engineering Mutual Transformation
Gradle/maven/eclipse Engineering Mutual Transformation:
install the appropriate tools and plugins.
1, Maven->eclipse
MVN Eclipse:eclipse
?
2, Eclipse->maven
After installing the Maven plugin, in the Eclipse Project right-click Project: Convert to Maven project.
?
3, Gradle->eclipse
Edit the Build.gradle file to add a line to the front of the file:
Apply plugin: ' Eclipse '
Gradle Eclipse
?
4, Eclipse->gradle
Open Eclipse, select Main project, right--->ecport Generate Gradle build files, select Main project and related project, Finish.
5, Maven->gradle
Gradle integrates a handy plugin: Build Init Plugin, which makes it easy to create a new Gradle project or convert other types of projects to gradle projects.
gradle init--type Pom
6, Gradle->maven
Gradle->eclipse->maven has not yet found a direct conversion method, but can be converted to eclipse engineering, with MAVEN or Gradle plug-ins to convert
The corresponding import jar is specifically repaired after the conversion is complete. "There are many mature ways to solve gradle to maven."
Gradle/maven/eclipse Engineering Mutual Transformation