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
15d6c9d5
Commit
15d6c9d5
authored
Apr 05, 2017
by
Andy Wilkinson
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #8818 from Johnny Lim
* gh-8818: Fix typos in new Gradle plugin
parents
5bc721f3
8d921d49
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
9 additions
and
9 deletions
+9
-9
howto.adoc
spring-boot-docs/src/main/asciidoc/howto.adoc
+1
-1
integrating-with-actuator.adoc
...e-plugin/src/main/asciidoc/integrating-with-actuator.adoc
+1
-1
packaging.adoc
...pring-boot-gradle-plugin/src/main/asciidoc/packaging.adoc
+2
-2
publishing.adoc
...ring-boot-gradle-plugin/src/main/asciidoc/publishing.adoc
+1
-1
running.adoc
.../spring-boot-gradle-plugin/src/main/asciidoc/running.adoc
+1
-1
SpringBootPlugin.java
.../springframework/boot/gradle/plugin/SpringBootPlugin.java
+2
-2
ApplicationPluginActionIntegrationTests.java
...radle/plugin/ApplicationPluginActionIntegrationTests.java
+1
-1
No files found.
spring-boot-docs/src/main/asciidoc/howto.adoc
View file @
15d6c9d5
...
...
@@ -2818,7 +2818,7 @@ And if you're using Gradle:
}
----
NOTE: `providedRuntime` is prefered to Gradle's `compileOnly` configuration as, among other
NOTE: `providedRuntime` is prefer
r
ed to Gradle's `compileOnly` configuration as, among other
limitations, `compileOnly` dependencies are not on the test classpath so any web-based
integration tests will fail.
...
...
spring-boot-tools/spring-boot-gradle-plugin/src/main/asciidoc/integrating-with-actuator.adoc
View file @
15d6c9d5
...
...
@@ -16,7 +16,7 @@ include::../gradle/integrating-with-actuator/build-info-basic.gradle[tags=build-
----
This will configure a {build-info-javadoc}[`BuildInfo`] task named `bootBuildInfo` and, if
it exists, make the Java plugin's `classes` task depend upon it. The task's desination
it exists, make the Java plugin's `classes` task depend upon it. The task's des
t
ination
directory will be `META-INF` in the output directory of the main source set's resources
(typically `build/resources/main`).
...
...
spring-boot-tools/spring-boot-gradle-plugin/src/main/asciidoc/packaging.adoc
View file @
15d6c9d5
...
...
@@ -37,7 +37,7 @@ include::../gradle/packaging/war-container-dependency.gradle[tags=dependencies]
This ensures that they are package in the war file's `WEB-INF/lib-provided` directory
from where they will not conflict with the external container's own classes.
NOTE: `providedRuntime` is prefered to Gradle's `compileOnly` configuration as, among
NOTE: `providedRuntime` is prefer
r
ed to Gradle's `compileOnly` configuration as, among
other limitations, `compileOnly` dependencies are not on the test classpath so any
web-based integration tests will fail.
...
...
@@ -60,7 +60,7 @@ By default, the executable archive's main class will be configured automatically
looking for a class with a `public static void main(String[])` method in directories on
the task's classpath.
The main class can also be configured explicity using the task's `mainClass` property:
The main class can also be configured explicit
l
y using the task's `mainClass` property:
[source,groovy,indent=0,subs="verbatim"]
----
...
...
spring-boot-tools/spring-boot-gradle-plugin/src/main/asciidoc/publishing.adoc
View file @
15d6c9d5
...
...
@@ -34,7 +34,7 @@ include::../gradle/publishing/maven-publish.gradle[tags=publishing]
[[publishing-your-application-distr
u
bution]]
[[publishing-your-application-distr
i
bution]]
=== Distributing with the `application` plugin
When the {application-plugin}[`application` plugin] is applied a distribution named
...
...
spring-boot-tools/spring-boot-gradle-plugin/src/main/asciidoc/running.adoc
View file @
15d6c9d5
...
...
@@ -17,7 +17,7 @@ the runtime classpath of the main source set.
By default, the main class will be configured automatically by looking for a class with a
`public static void main(String[])` method in directories on the task's classpath.
The main class can also be configured explicity using the task's `main` property:
The main class can also be configured explicit
l
y using the task's `main` property:
[source,groovy,indent=0,subs="verbatim"]
----
...
...
spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/plugin/SpringBootPlugin.java
View file @
15d6c9d5
...
...
@@ -42,7 +42,7 @@ public class SpringBootPlugin implements Plugin<Project> {
*
* @since 2.0.0
*/
public
static
final
String
BOOT_ARCHIVES_CONFIURATION_NAME
=
"bootArchives"
;
public
static
final
String
BOOT_ARCHIVES_CONFI
G
URATION_NAME
=
"bootArchives"
;
/**
* The name of the {@link SoftwareComponent} for a Spring Boot Java application.
...
...
@@ -76,7 +76,7 @@ public class SpringBootPlugin implements Plugin<Project> {
public
void
apply
(
Project
project
)
{
project
.
getExtensions
().
create
(
"springBoot"
,
SpringBootExtension
.
class
,
project
);
Configuration
bootArchives
=
project
.
getConfigurations
()
.
create
(
BOOT_ARCHIVES_CONFIURATION_NAME
);
.
create
(
BOOT_ARCHIVES_CONFI
G
URATION_NAME
);
SinglePublishedArtifact
singlePublishedArtifact
=
new
SinglePublishedArtifact
(
bootArchives
.
getArtifacts
());
List
<
PluginApplicationAction
>
actions
=
Arrays
.
asList
(
...
...
spring-boot-tools/spring-boot-gradle-plugin/src/test/java/org/springframework/boot/gradle/plugin/ApplicationPluginActionIntegrationTests.java
View file @
15d6c9d5
...
...
@@ -64,7 +64,7 @@ public class ApplicationPluginActionIntegrationTests {
}
@Test
public
void
applyingApplictionPluginCreatesBootStartScriptsTask
()
{
public
void
applyingApplic
a
tionPluginCreatesBootStartScriptsTask
()
{
assertThat
(
this
.
gradleBuild
.
build
(
"taskExists"
,
"-PtaskName=bootStartScripts"
,
"-PapplyApplicationPlugin"
).
getOutput
())
.
contains
(
"bootStartScripts exists = true"
);
...
...
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