How to create Java gradle project

后端 未结 8 689
醉梦人生
醉梦人生 2020-12-04 06:09

How to create Java Gradle project from command line?

It should create standard maven folder layout like on the picture below.

8条回答
  •  悲哀的现实
    2020-12-04 06:34

    If you are using Eclipse, for an existing project (which has a build.gradle file) you can simply type gradle eclipse which will create all the Eclipse files and folders for this project.

    It takes care of all the dependencies for you and adds them to the project resource path in Eclipse as well.

提交回复
热议问题