Commit 7c5042d0 authored by Phillip Webb's avatar Phillip Webb

Don't run `apply-plugin` tests

Stop running apply-plugin tests as part of the build since during a
release the version number will change and the jar will not be
available.

Fixes gh-11857
parent 09181d6b
......@@ -14,13 +14,13 @@ endif::[]
ifeval::["{version-type}" == "MILESTONE"]
[source,groovy,indent=0,subs="verbatim,attributes"]
----
include::../gradle/getting-started/apply-plugin-milestone.gradle[tags=!buildclasspath]
include::../gradle/getting-started/apply-plugin-milestone.gradle[]
----
endif::[]
ifeval::["{version-type}" == "SNAPSHOT"]
[source,groovy,indent=0,subs="verbatim,attributes"]
----
include::../gradle/getting-started/apply-plugin-snapshot.gradle[tags=!buildclasspath]
include::../gradle/getting-started/apply-plugin-snapshot.gradle[]
----
endif::[]
......
......@@ -5,9 +5,6 @@ buildscript {
dependencies {
classpath 'org.springframework.boot:spring-boot-gradle-plugin:{version}'
// tag::buildclasspath[]
classpath files(pluginClasspath.split(','))
// end::buildclasspath[]
}
}
......
......@@ -5,9 +5,6 @@ buildscript {
dependencies {
classpath 'org.springframework.boot:spring-boot-gradle-plugin:{version}'
// tag::buildclasspath[]
classpath files(pluginClasspath.split(','))
// end::buildclasspath[]
}
}
......
......@@ -31,12 +31,8 @@ public class GettingStartedDocumentationTests {
@Rule
public GradleBuild gradleBuild = new GradleBuild();
@Test
public void applyPluginSnapshotExampleEvaluatesSuccessfully() {
this.gradleBuild
.script("src/main/gradle/getting-started/apply-plugin-snapshot.gradle")
.build();
}
// NOTE: We can't run any `apply-plugin` tests because during a release the
// jar won't be there
@Test
public void typicalPluginsAppliesExceptedPlugins() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment