Search Gradle plugins

org.springframework.boot

Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that can you can "just run". We take an opinionated view of the Spring platform and third-party libraries so you can get started with minimum fuss. Most Spring Boot applications need very little Spring configuration.

http://projects.spring.io/spring-boot/

Using the plugins DSL:

plugins {
  id "org.springframework.boot" version "2.1.5.RELEASE"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "org.springframework.boot:spring-boot-gradle-plugin:2.1.5.RELEASE"
  }
}

apply plugin: "org.springframework.boot"

Using the plugins DSL:

plugins {
  id("org.springframework.boot") version "2.1.5.RELEASE"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("org.springframework.boot:spring-boot-gradle-plugin:2.1.5.RELEASE")
  }
}

apply(plugin = "org.springframework.boot")

Learn how to apply plugins to subprojects