Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
3d143e59
Commit
3d143e59
authored
Jun 01, 2020
by
Andy Wilkinson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix inclusion of version-specific content in Gradle plugin's docs
Fixes gh-21610
parent
b1777b9d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
getting-started.adoc
...boot-gradle-plugin/src/docs/asciidoc/getting-started.adoc
+3
-3
managing-dependencies.adoc
...radle-plugin/src/docs/asciidoc/managing-dependencies.adoc
+3
-3
No files found.
spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/docs/asciidoc/getting-started.adoc
View file @
3d143e59
...
...
@@ -2,7 +2,7 @@
== Getting Started
To get started with the plugin it needs to be applied to your project.
ifeval::["{
version-type}" == "RELEASE
"]
ifeval::["{
spring-boot-artifactory-repo}" == "release
"]
The plugin is https://plugins.gradle.org/plugin/org.springframework.boot[published to Gradle's plugin portal] and can be applied using the `plugins` block:
[source,groovy,indent=0,subs="verbatim,attributes",role="primary"]
.Groovy
...
...
@@ -16,7 +16,7 @@ include::../gradle/getting-started/apply-plugin-release.gradle[]
include::../gradle/getting-started/apply-plugin-release.gradle.kts[]
----
endif::[]
ifeval::["{
version-type}" == "MILESTONE
"]
ifeval::["{
spring-boot-artifactory-repo}" == "milestone
"]
The plugin is published to the Spring milestones repository.
Gradle can be configured to use the milestones repository and the plugin can then be applied using the `plugins` block.
To configure Gradle to use the milestones repository, add the following to your `settings.gradle` (Groovy) or `settings.gradle.kts` (Kotlin):
...
...
@@ -47,7 +47,7 @@ include::../gradle/getting-started/apply-plugin-release.gradle[]
include::../gradle/getting-started/apply-plugin-release.gradle.kts[]
----
endif::[]
ifeval::["{
version-type}" == "SNAPSHOT
"]
ifeval::["{
spring-boot-artifactory-repo}" == "snapshot
"]
The plugin is published to the Spring snapshots repository.
Gradle can be configured to use the snapshots repository and the plugin can then be applied using the `plugins` block.
To configure Gradle to use the snapshots repository, add the following to your `settings.gradle` (Groovy) or `settings.gradle.kts` (Kotlin):
...
...
spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/docs/asciidoc/managing-dependencies.adoc
View file @
3d143e59
...
...
@@ -52,7 +52,7 @@ The `SpringBootPlugin` class provides a `BOM_COORDINATES` constant that can be u
First, configure the project to depend on the Spring Boot plugin but do not apply it:
ifeval::["{
version-type}" == "RELEASE
"]
ifeval::["{
spring-boot-artifactory-repo}" == "release
"]
[source,groovy,indent=0,subs="verbatim,attributes",role="primary"]
.Groovy
----
...
...
@@ -65,7 +65,7 @@ include::../gradle/managing-dependencies/depend-on-plugin-release.gradle[]
include::../gradle/managing-dependencies/depend-on-plugin-release.gradle.kts[]
----
endif::[]
ifeval::["{
version-type}" == "MILESTONE
"]
ifeval::["{
spring-boot-artifactory-repo}" == "milestone
"]
[source,groovy,indent=0,subs="verbatim,attributes",role="primary"]
.Groovy
----
...
...
@@ -77,7 +77,7 @@ include::../gradle/managing-dependencies/depend-on-plugin-milestone.gradle[]
include::../gradle/managing-dependencies/depend-on-plugin-release.gradle.kts[]
----
endif::[]
ifeval::["{
version-type}" == "SNAPSHOT
"]
ifeval::["{
spring-boot-artifactory-repo}" == "snapshot
"]
[source,groovy,indent=0,subs="verbatim,attributes",role="primary"]
.Groovy
----
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment