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
5c632dfc
Commit
5c632dfc
authored
Sep 15, 2016
by
Andy Wilkinson
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '1.3.x
parents
4d2e557f
30cb15a0
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
11 deletions
+13
-11
build-tool-plugins.adoc
spring-boot-docs/src/main/asciidoc/build-tool-plugins.adoc
+2
-3
getting-started.adoc
spring-boot-docs/src/main/asciidoc/getting-started.adoc
+8
-7
index.adoc
spring-boot-docs/src/main/asciidoc/index.adoc
+2
-0
using-spring-boot.adoc
spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc
+1
-1
No files found.
spring-boot-docs/src/main/asciidoc/build-tool-plugins.adoc
View file @
5c632dfc
...
...
@@ -450,7 +450,7 @@ BootRepackage task and instructed it to work with only `clientJar` task and
----
The configuration that we are referring to in `BootRepackage` is a normal
http://www.gradle.org/docs/current/dsl
/org.gradle.api.artifacts.Configuration.html[Gradle
{gradle-dsl}
/org.gradle.api.artifacts.Configuration.html[Gradle
configuration]. In the above example we created a new configuration named
`mycustomconfiguration` instructing it to derive from a `runtime` and exclude the `log4j`
group. If the `clientBoot` task is executed, the repackaged boot jar will have all
...
...
@@ -594,8 +594,7 @@ using Gradle and how you're trying to publish the artifacts.
====
Configuring
Gradle
to
produce
a
pom
that
inherits
dependency
management
The
following
is
an
example
of
configuring
Gradle
to
generate
a
pom
that
inherits
from
`
spring
-
boot
-
starter
-
parent
`.
Please
refer
to
the
http
://
www
.
gradle
.
org
/
docs
/
current
/
userguide
/
userguide
.
html
[
Gradle
User
Guide
]
for
further
information
.
{
gradle
-
user
-
guide
}/
userguide
.
html
[
Gradle
User
Guide
]
for
further
information
.
[
source
,
groovy
,
indent
=
0
,
subs
=
"verbatim,attributes"
]
----
...
...
spring-boot-docs/src/main/asciidoc/getting-started.adoc
View file @
5c632dfc
...
...
@@ -39,10 +39,11 @@ diverge from the defaults.
By default, Spring Boot {spring-boot-version} requires http://www.java.com[Java 7] and
Spring Framework {spring-version} or above. You can use Spring Boot with Java 6 with some
additional configuration. See <<howto.adoc#howto-use-java-6>> for more details. Explicit
build support is provided for Maven (3.2+) and Gradle (1.12+).
build support is provided for Maven (3.2+) and Gradle (1.12 or 2.x). Gradle 3 is not
supported.
TIP: Although you can use Spring Boot with Java 6 or 7, we generally recommend Java 8 if
at
all possible.
TIP: Although you can use Spring Boot with Java 6 or 7, we generally recommend Java 8 if
a
t a
ll possible.
=== Servlet containers
The following embedded servlet containers are supported out of the box:
...
...
@@ -204,8 +205,9 @@ scope.
[[getting-started-gradle-installation]]
==== Gradle installation
Spring Boot is compatible with Gradle 1.12 or above. If you don't already have Gradle
installed you can follow the instructions at http://www.gradle.org/.
Spring Boot is compatible with Gradle 1.12 or 2.x. 2.14.1 is recommended. Gradle 3 is not
supported. If you don't already have Gradle installed you can follow the instructions at
http://www.gradle.org/.
Spring Boot dependencies can be declared using the `org.springframework.boot` `group`.
Typically your project will declare dependencies to one or more
...
...
@@ -217,8 +219,7 @@ that can be used to simplify dependency declarations and to create executable ja
****
The Gradle Wrapper provides a nice way of "`obtaining`" Gradle when you need to build a
project. It's a small script and library that you commit alongside your code to bootstrap
the build process. See http://www.gradle.org/docs/current/userguide/gradle_wrapper.html
for details.
the build process. See {gradle-user-guide}/gradle_wrapper.html for details.
****
Here is a typical `build.gradle` file:
...
...
spring-boot-docs/src/main/asciidoc/index.adoc
View file @
5c632dfc
...
...
@@ -48,6 +48,8 @@ Phillip Webb; Dave Syer; Josh Long; Stéphane Nicoll; Rob Winch; Andy Wilkinson;
:propdeps-plugin: https://github.com/spring-projects/gradle-plugins/tree/master/propdeps-plugin
:ant-manual: http://ant.apache.org/manual
:code-examples: ../java/org/springframework/boot
:gradle-user-guide: https://docs.gradle.org/2.14.1/userguide
:gradle-dsl: https://docs.gradle.org/2.14.1/dsl
// ======================================================================================
include::documentation-overview.adoc[]
...
...
spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc
View file @
5c632dfc
...
...
@@ -651,7 +651,7 @@ If you can't directly import your project into your IDE, you may be able to gene
metadata using a build plugin. Maven includes plugins for
http://maven.apache.org/plugins/maven-eclipse-plugin/[Eclipse] and
http://maven.apache.org/plugins/maven-idea-plugin/[IDEA]; Gradle offers plugins
for
https://docs.gradle.org/current/userguide
/userguide.html[various IDEs].
for
{gradle-user-guide}
/userguide.html[various IDEs].
TIP: If you accidentally run a web application twice you will see a "`Port already in
use`" error. STS users can use the `Relaunch` button rather than `Run` to ensure that
...
...
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