Gradle/maven/eclipse Engineering Mutual Transformation

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.