Always include plugin classpath in sample gradle
Update a couple of the `spring-boot-gradle-plugin` sample gradle flies so that they include the running classpath. The additional lines are contained within a tag which is ultimately filtered from the final documentation. Fixes gh-11857
This commit is contained in:
parent
d478e9bf57
commit
6dddceacad
|
@ -14,13 +14,13 @@ endif::[]
|
|||
ifeval::["{version-type}" == "MILESTONE"]
|
||||
[source,groovy,indent=0,subs="verbatim,attributes"]
|
||||
----
|
||||
include::../gradle/getting-started/apply-plugin-milestone.gradle[]
|
||||
include::../gradle/getting-started/apply-plugin-milestone.gradle[tags=!buildclasspath]
|
||||
----
|
||||
endif::[]
|
||||
ifeval::["{version-type}" == "SNAPSHOT"]
|
||||
[source,groovy,indent=0,subs="verbatim,attributes"]
|
||||
----
|
||||
include::../gradle/getting-started/apply-plugin-snapshot.gradle[]
|
||||
include::../gradle/getting-started/apply-plugin-snapshot.gradle[tags=!buildclasspath]
|
||||
----
|
||||
endif::[]
|
||||
|
||||
|
|
|
@ -5,6 +5,9 @@ buildscript {
|
|||
|
||||
dependencies {
|
||||
classpath 'org.springframework.boot:spring-boot-gradle-plugin:{version}'
|
||||
// tag::buildclasspath[]
|
||||
classpath files(pluginClasspath.split(','))
|
||||
// end::buildclasspath[]
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -5,6 +5,9 @@ buildscript {
|
|||
|
||||
dependencies {
|
||||
classpath 'org.springframework.boot:spring-boot-gradle-plugin:{version}'
|
||||
// tag::buildclasspath[]
|
||||
classpath files(pluginClasspath.split(','))
|
||||
// end::buildclasspath[]
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue