Skip to content

Commit d781ce1

Browse files
ngocnhan-tran1996snicoll
authored andcommitted
Use Javadoc attributes for Gradle reference guide
See gh-44388 Signed-off-by: Tran Ngoc Nhan <[email protected]>
1 parent b711489 commit d781ce1

File tree

2 files changed

+3
-3
lines changed
  • spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/docs/antora/modules/gradle-plugin/pages

2 files changed

+3
-3
lines changed

spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/docs/antora/modules/gradle-plugin/pages/packaging.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ The plugin can create executable archives (jar files and war files) that contain
99
== Packaging Executable Jars
1010

1111
Executable jars can be built using the `bootJar` task.
12-
The task is automatically created when the `java` plugin is applied and is an instance of xref:api/java/org/springframework/boot/gradle/tasks/bundling/BootJar.html[`BootJar`].
12+
The task is automatically created when the `java` plugin is applied and is an instance of {apiref-gradle-plugin-boot-jar}[`BootJar`].
1313
The `assemble` task is automatically configured to depend upon the `bootJar` task so running `assemble` (or `build`) will also run the `bootJar` task.
1414

1515

@@ -101,7 +101,7 @@ See https://github.com/spring-projects/spring-boot/issues/33238[#33238] for deta
101101
[[packaging-executable.configuring]]
102102
== Configuring Executable Archive Packaging
103103

104-
The xref:api/java/org/springframework/boot/gradle/tasks/bundling/BootJar.html[`BootJar`] and {apiref-gradle-plugin-boot-war}[`BootWar`] tasks are subclasses of Gradle's `Jar` and `War` tasks respectively.
104+
The {apiref-gradle-plugin-boot-jar}[`BootJar`] and {apiref-gradle-plugin-boot-war}[`BootWar`] tasks are subclasses of Gradle's `Jar` and `War` tasks respectively.
105105
As a result, all of the standard configuration options that are available when packaging a jar or war are also available when packaging an executable jar or war.
106106
A number of configuration options that are specific to executable jars and wars are also provided.
107107

spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/docs/antora/modules/gradle-plugin/pages/running.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ To run your application without first building an archive use the `bootRun` task
88
$ ./gradlew bootRun
99
----
1010

11-
The `bootRun` task is an instance of xref:api/java/org/springframework/boot/gradle/tasks/run/BootRun.html[`BootRun`] which is a `JavaExec` subclass.
11+
The `bootRun` task is an instance of {apiref-gradle-plugin-boot-run}[`BootRun`] which is a `JavaExec` subclass.
1212
As such, all of the {url-gradle-dsl}/org.gradle.api.tasks.JavaExec.html[usual configuration options] for executing a Java process in Gradle are available to you.
1313
The task is automatically configured to use the runtime classpath of the main source set.
1414

0 commit comments

Comments
 (0)