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
632af6b1
Commit
632af6b1
authored
Mar 19, 2014
by
Phillip Webb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Polish gradle examples
Spaces -> Tabs, version number, whitespace.
parent
338b32eb
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
35 additions
and
36 deletions
+35
-36
build.gradle
spring-boot-samples/spring-boot-sample-actuator/build.gradle
+18
-18
build.gradle
spring-boot-samples/spring-boot-sample-simple/build.gradle
+15
-16
build.gradle
...g-boot-samples/spring-boot-sample-web-static/build.gradle
+1
-1
build.gradle
spring-boot-samples/spring-boot-sample-web-ui/build.gradle
+1
-1
No files found.
spring-boot-samples/spring-boot-sample-actuator/build.gradle
View file @
632af6b1
...
...
@@ -2,13 +2,13 @@ buildscript {
ext
{
springBootVersion
=
'1.0.0.BUILD-SNAPSHOT'
}
repositories
{
mavenLocal
()
maven
{
url
"http://repo.spring.io/libs-snapshot"
}
}
dependencies
{
classpath
(
"org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}"
)
}
repositories
{
mavenLocal
()
maven
{
url
"http://repo.spring.io/libs-snapshot"
}
}
dependencies
{
classpath
(
"org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}"
)
}
}
apply
plugin:
'java'
...
...
@@ -17,14 +17,14 @@ apply plugin: 'idea'
apply
plugin:
'spring-boot'
jar
{
baseName
=
'spring-boot-sample-actuator'
version
=
'1
.0.0'
baseName
=
'spring-boot-sample-actuator'
version
=
'0
.0.0'
}
repositories
{
mavenLocal
()
mavenCentral
()
maven
{
url
"http://repo.spring.io/libs-snapshot"
}
mavenLocal
()
mavenCentral
()
maven
{
url
"http://repo.spring.io/libs-snapshot"
}
}
dependencies
{
...
...
@@ -32,13 +32,13 @@ dependencies {
insecure
.
exclude
module:
'spring-boot-starter-security'
}
compile
(
"org.springframework.boot:spring-boot-starter-actuator"
)
compile
(
"org.springframework.boot:spring-boot-starter-security"
)
compile
(
"org.springframework.boot:spring-boot-starter-web"
)
compile
(
"org.springframework.boot:spring-boot-starter-actuator"
)
compile
(
"org.springframework.boot:spring-boot-starter-security"
)
compile
(
"org.springframework.boot:spring-boot-starter-web"
)
testCompile
(
"org.springframework.boot:spring-boot-starter-test"
)
testCompile
(
"org.springframework.boot:spring-boot-starter-test"
)
insecure
configurations
.
runtime
insecure
configurations
.
runtime
}
// Slightly odd requirement (package a jar file as an insecure app, exlcuding Spring Security)
...
...
@@ -48,5 +48,5 @@ springBoot {
}
task
wrapper
(
type:
Wrapper
)
{
gradleVersion
=
'1.6'
gradleVersion
=
'1.6'
}
spring-boot-samples/spring-boot-sample-simple/build.gradle
View file @
632af6b1
...
...
@@ -2,37 +2,36 @@ buildscript {
ext
{
springBootVersion
=
'1.0.0.BUILD-SNAPSHOT'
}
repositories
{
mavenLocal
()
maven
{
url
"http://repo.spring.io/libs-snapshot"
}
}
dependencies
{
classpath
(
"org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}"
)
}
repositories
{
mavenLocal
()
maven
{
url
"http://repo.spring.io/libs-snapshot"
}
}
dependencies
{
classpath
(
"org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}"
)
}
}
apply
plugin:
'java'
apply
plugin:
'eclipse'
apply
plugin:
'idea'
apply
plugin:
'spring-boot'
jar
{
baseName
=
'spring-boot-sample-simple'
version
=
'1
.0.0'
baseName
=
'spring-boot-sample-simple'
version
=
'0
.0.0'
}
repositories
{
mavenLocal
()
mavenCentral
()
maven
{
url
"http://repo.spring.io/libs-snapshot"
}
mavenLocal
()
mavenCentral
()
maven
{
url
"http://repo.spring.io/libs-snapshot"
}
}
dependencies
{
compile
(
"org.springframework.boot:spring-boot-starter"
)
testCompile
(
"org.springframework.boot:spring-boot-starter-test"
)
compile
(
"org.springframework.boot:spring-boot-starter"
)
testCompile
(
"org.springframework.boot:spring-boot-starter-test"
)
}
task
wrapper
(
type:
Wrapper
)
{
gradleVersion
=
'1.6'
gradleVersion
=
'1.6'
}
spring-boot-samples/spring-boot-sample-web-static/build.gradle
View file @
632af6b1
...
...
@@ -22,7 +22,7 @@ mainClassName = "sample.ui.SampleWebStaticApplication"
war
{
baseName
=
'spring-boot-sample-web-static'
version
=
'0.
5
.0'
version
=
'0.
0
.0'
}
repositories
{
...
...
spring-boot-samples/spring-boot-sample-web-ui/build.gradle
View file @
632af6b1
...
...
@@ -23,7 +23,7 @@ mainClassName = "sample.ui.SampleWebUiApplication"
jar
{
baseName
=
'spring-boot-sample-web-ui'
version
=
'0.
5
.0'
version
=
'0.
0
.0'
}
repositories
{
...
...
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