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
bc27a8aa
Commit
bc27a8aa
authored
Apr 22, 2015
by
Andy Wilkinson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Show different Gradle repository config for snapshots vs releases
Closes gh-2838
parent
3e339530
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
3 deletions
+30
-3
using-spring-boot.adoc
spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc
+30
-3
No files found.
spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc
View file @
bc27a8aa
...
@@ -147,7 +147,16 @@ Maven, there is no "`super parent`" to import to share some configuration.
...
@@ -147,7 +147,16 @@ Maven, there is no "`super parent`" to import to share some configuration.
----
----
apply
plugin
:
'java'
apply
plugin
:
'java'
repositories
{
jcenter
()
}
repositories
{
ifeval
::[
"{spring-boot-repo}"
!= "release"]
maven
{
url
"http://repo.spring.io/snapshot"
}
maven
{
url
"http://repo.spring.io/milestone"
}
endif
::[]
ifeval
::[
"{spring-boot-repo}"
==
"release"
]
jcenter
()
endif
::[]
}
dependencies
{
dependencies
{
compile
(
"org.springframework.boot:spring-boot-starter-web:{spring-boot-version}"
)
compile
(
"org.springframework.boot:spring-boot-starter-web:{spring-boot-version}"
)
}
}
...
@@ -162,7 +171,16 @@ for "`blessed`" dependencies>>:
...
@@ -162,7 +171,16 @@ for "`blessed`" dependencies>>:
[
source
,
groovy
,
indent
=
0
,
subs
=
"attributes"
]
[
source
,
groovy
,
indent
=
0
,
subs
=
"attributes"
]
----
----
buildscript
{
buildscript
{
repositories
{
jcenter
()
}
repositories
{
ifeval
::[
"{spring-boot-repo}"
!= "release"]
maven
{
url
"http://repo.spring.io/snapshot"
}
maven
{
url
"http://repo.spring.io/milestone"
}
endif
::[]
ifeval
::[
"{spring-boot-repo}"
==
"release"
]
jcenter
()
endif
::[]
}
dependencies
{
dependencies
{
classpath
(
"org.springframework.boot:spring-boot-gradle-plugin:{spring-boot-version}"
)
classpath
(
"org.springframework.boot:spring-boot-gradle-plugin:{spring-boot-version}"
)
}
}
...
@@ -171,7 +189,16 @@ for "`blessed`" dependencies>>:
...
@@ -171,7 +189,16 @@ for "`blessed`" dependencies>>:
apply
plugin
:
'java'
apply
plugin
:
'java'
apply
plugin
:
'spring-boot'
apply
plugin
:
'spring-boot'
repositories
{
jcenter
()
}
repositories
{
ifeval
::[
"{spring-boot-repo}"
!= "release"]
maven
{
url
"http://repo.spring.io/snapshot"
}
maven
{
url
"http://repo.spring.io/milestone"
}
endif
::[]
ifeval
::[
"{spring-boot-repo}"
==
"release"
]
jcenter
()
endif
::[]
}
dependencies
{
dependencies
{
compile
(
"org.springframework.boot:spring-boot-starter-web"
)
compile
(
"org.springframework.boot:spring-boot-starter-web"
)
testCompile
(
"org.springframework.boot:spring-boot-starter-test"
)
testCompile
(
"org.springframework.boot:spring-boot-starter-test"
)
...
...
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