You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/docs/antora/modules/gradle-plugin/pages/packaging.adoc
+2-2
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ The plugin can create executable archives (jar files and war files) that contain
9
9
== Packaging Executable Jars
10
10
11
11
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`].
13
13
The `assemble` task is automatically configured to depend upon the `bootJar` task so running `assemble` (or `build`) will also run the `bootJar` task.
14
14
15
15
@@ -101,7 +101,7 @@ See https://github.com/spring-projects/spring-boot/issues/33238[#33238] for deta
101
101
[[packaging-executable.configuring]]
102
102
== Configuring Executable Archive Packaging
103
103
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.
105
105
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.
106
106
A number of configuration options that are specific to executable jars and wars are also provided.
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/docs/antora/modules/gradle-plugin/pages/running.adoc
+1-1
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ To run your application without first building an archive use the `bootRun` task
8
8
$ ./gradlew bootRun
9
9
----
10
10
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.
12
12
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.
13
13
The task is automatically configured to use the runtime classpath of the main source set.
0 commit comments