Apply plugins consistently in Gradle documentation examples

Closes gh-34038
pull/34587/head
Andy Wilkinson 2 years ago
parent 74946dd292
commit 81882ecca4

@ -1,9 +1,9 @@
// tag::apply[]
plugins {
id 'java'
id 'org.springframework.boot' version '{gradle-project-version}'
}
// tag::apply[]
apply plugin: 'java'
apply plugin: 'io.spring.dependency-management'
// end::apply[]

@ -1,5 +1,5 @@
plugins {
war
java
id("org.springframework.boot") version "{gradle-project-version}"
}

Loading…
Cancel
Save