This version is still in development and is not considered stable yet. For the latest stable version, please use Spring Boot 3.3.13.1!

Getting Started

To get started with the plugin it needs to be applied to your project.

The plugin is published to the Spring Commercial repository. You will have to configure your build to access this repository. This is usual done through a local artifact repository that mirrors the content of the Spring Commercial repository. Alternatively, while it is not recommended, the Spring Commercial repository can also be accessed directly. In either case, see the Tanzu Spring Runtime documentation for further details.

With access to the Spring Commercial repository configured in settings.gradle or settings.gradle.kts, the plugin can be applied using the plugins block:

  • Groovy

  • Kotlin

plugins {
	id 'org.springframework.boot' version '3.3.14-SNAPSHOT'
}
plugins {
	id("org.springframework.boot") version "3.3.14-SNAPSHOT"
}

Applied in isolation the plugin makes few changes to a project. Instead, the plugin detects when certain other plugins are applied and reacts accordingly. For example, when the java plugin is applied a task for building an executable jar is automatically configured. A typical Spring Boot project will apply the groovy, java, or org.jetbrains.kotlin.jvm plugin as a minimum and also use the io.spring.dependency-management plugin or Gradle’s native bom support for dependency management. For example:

  • Groovy

  • Kotlin

plugins {
	id 'java'
	id 'org.springframework.boot' version '3.3.14-SNAPSHOT'
}

apply plugin: 'io.spring.dependency-management'
plugins {
	java
	id("org.springframework.boot") version "3.3.14-SNAPSHOT"
}

apply(plugin = "io.spring.dependency-management")

To learn more about how the Spring Boot plugin behaves when other plugins are applied please see the section on reacting to other plugins.