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
c09ca17c
Commit
c09ca17c
authored
Feb 06, 2014
by
Phillip Webb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update gradle example builds
parent
d137bcd8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
10 deletions
+12
-10
build.gradle
spring-boot-samples/spring-boot-sample-actuator/build.gradle
+7
-6
build.gradle
spring-boot-samples/spring-boot-sample-simple/build.gradle
+5
-4
No files found.
spring-boot-samples/spring-boot-sample-actuator/build.gradle
View file @
c09ca17c
buildscript
{
ext
{
springBootVersion
=
'
0.5
.0.BUILD-SNAPSHOT'
springBootVersion
=
'
1.0
.0.BUILD-SNAPSHOT'
}
repositories
{
mavenLocal
()
...
...
@@ -18,10 +18,11 @@ apply plugin: 'spring-boot'
jar
{
baseName
=
'spring-boot-sample-actuator'
version
=
'
0.5
.0'
version
=
'
1.0
.0'
}
repositories
{
mavenLocal
()
mavenCentral
()
maven
{
url
"http://repo.springsource.org/libs-snapshot"
}
}
...
...
@@ -30,10 +31,10 @@ dependencies {
configurations
{
insecure
.
exclude
module:
'spring-boot-starter-security'
}
compile
(
"org.springframework.boot:spring-boot-starter-web
:${springBootVersion}
"
)
compile
(
"org.springframework.boot:spring-boot-starter-actuator
:${springBootVersion}
"
)
compile
(
"org.springframework.boot:spring-boot-starter-security
:${springBootVersion}
"
)
testCompile
(
"junit:junit
:4.11
"
)
compile
(
"org.springframework.boot:spring-boot-starter-web"
)
compile
(
"org.springframework.boot:spring-boot-starter-actuator"
)
compile
(
"org.springframework.boot:spring-boot-starter-security"
)
testCompile
(
"junit:junit"
)
insecure
configurations
.
runtime
}
...
...
spring-boot-samples/spring-boot-sample-simple/build.gradle
View file @
c09ca17c
buildscript
{
ext
{
springBootVersion
=
'
0.5
.0.BUILD-SNAPSHOT'
springBootVersion
=
'
1.0
.0.BUILD-SNAPSHOT'
}
repositories
{
mavenLocal
()
...
...
@@ -19,17 +19,18 @@ apply plugin: 'spring-boot'
jar
{
baseName
=
'spring-boot-sample-simple'
version
=
'
0.5
.0'
version
=
'
1.0
.0'
}
repositories
{
mavenLocal
()
mavenCentral
()
maven
{
url
"http://repo.springsource.org/libs-snapshot"
}
}
dependencies
{
compile
(
"org.springframework.boot:spring-boot-starter
:${springBootVersion}
"
)
testCompile
(
"org.springframework.boot:spring-boot-starter-test
:${springBootVersion}
"
)
compile
(
"org.springframework.boot:spring-boot-starter"
)
testCompile
(
"org.springframework.boot:spring-boot-starter-test"
)
}
task
wrapper
(
type:
Wrapper
)
{
...
...
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