I’m doing a project with Gradle and Spring Boot. My question is this: how can I import it in Cuba Studio so that the components of the front part can call the methods created in that project? If someone can help, it would be appreciated.
Studio supports only projects based on CUBA Platform. You cannot import your Spring Boot project but you can add it as module in Intellij project if you define it in build.gradle file and apply plugin idea (as it is done for the standard modules of an application).
In this case use the same technique but apply plugin eclipse. Thus your spring boot project will be a module of CUBA project. Please note that you have to copy your project in a subfolder of cuba project.
Another option - simply use REST API for integration between applications.