Spring com Gradle
Gerando um projeto Spring com Gradle
Acesse o site start.spring.io.
Selecione as opções conforme abaixo:
Generate a Gradle Project
with Java
and Spring Boot 2.0.7 (SNAPSHOT)
Group com.example
Artifact Demo
Dependencies
Web
Clique em Generate Project.

Importando o projeto no Eclipse
File -> Import -> Existing Gradle Projects

Clique em Finish.
Importando o projeto no IntelliJIDEA
File -> New -> Project from Existing Sources -> Selecione o diretório do arquivo build.gradle
Comandos
Build
gradle build
Iniciar Springboot
gradle bootRun
Last updated
Was this helpful?