How to pass a local project made with Gradle to another computer?

0

I do not know if I explain myself in my question. Goes again:

I have made a web page with the Spring MVC Framework and I had to use Gradle for the management of the dependencies (because I was following a course) of Spring and Spring Boot. Also those of ThymeLeaf (which is a kind of Angular JS for the Front-End).

It's my first time using Gradle and Spring and it is not very clear to me how is the theme to run this project on a machine other than mine.

The IDE used is IntelliJ Community (I do not know if it contributes anything).

In other words, from my IDE I upload the project with the bootRun and then I access my local website as with almost all websites.

I need to take this project to a computer (of the faculty) that has Windows (mine is Linux) and raise it in an Eclipse. I was trying on my own machine and I could not, so I guess I'll have the same problem on the other computer.

Can someone explain to me how Gradle works with these things ... Should I just compress my project and import it into another IDE or should I upload it in another IDE with some special command, or how is it?

From the IntelliJ for example, when I create a new Java project it gives me the option of Gradle, but in Eclipse I did not see it.

I need to dispel my doubts, thank you very much:)

    
asked by Nacho Zve De La Torre 23.10.2018 в 21:59
source

1 answer

1

Well, gradle is a build constructor and dependency manager for Java. IntelliJ, NetBeans, Eclipse are IDEs that have a gradle plugin to lift the created project. Below what each IDE basically does is run the Gradle with its tasks in this case it is gradle bootRun it has others like gradle clean build and others. You can build your project with any IDE as long as you install or have the gradle plugin added. Now if you want to run it manually by cmd Windows or linux terminal. You must download and install Gradle link once installed, go to the root directory of your project and execute. gradle clean build bootRun these tasks so that you can raise your project without the need of an IDE. Greetings.

    
answered by 28.10.2018 в 23:36