January 2019
Beginner to intermediate
352 pages
8h
English
Gradle is an open source build automation tool that uses scripts written in Groovy or Kotlin DSL. It's supported by the major IDEs, and you can run it using command-line interfaces, or through a continuous integration server.
Once it has been installed, you can create a new project (or automatically convert an existing Maven project into a Gradle one) by launching the following command from your project's root:
$ gradle init
In order to use Spring Boot in a Gradle project, you can create a Gradle file such as the following:
plugins { id 'org.springframework.boot' version '2.0.5.RELEASE' id 'java'}jar { baseName = 'myproject' version = '0.0.1-SNAPSHOT'}repositories { jcenter()}dependencies { implementation 'org.springframework.boot:spring-boot-dependencies:2.0.5.RELEASE' ...Read now
Unlock full access