This commit is contained in:
Phillip Webb
2014-02-18 21:57:47 -08:00
parent d84a77e4a7
commit b69c659d8f
20 changed files with 128 additions and 105 deletions

View File

@@ -3,14 +3,14 @@ buildscript {
springBootVersion = '1.0.0.BUILD-SNAPSHOT'
springLoadedVersion = '1.1.5.RELEASE'
}
repositories {
mavenLocal()
maven { url "http://repo.springsource.org/libs-snapshot" }
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
classpath("org.springsource.loaded:springloaded:${springLoadedVersion}")
}
repositories {
mavenLocal()
maven { url "http://repo.springsource.org/libs-snapshot" }
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
classpath("org.springsource.loaded:springloaded:${springLoadedVersion}")
}
}
@@ -22,21 +22,19 @@ apply plugin: 'spring-boot'
mainClassName = "sample.ui.SampleWebUiApplication"
jar {
baseName = 'spring-boot-sample-simple'
version = '0.5.0'
baseName = 'spring-boot-sample-simple'
version = '0.5.0'
}
repositories {
mavenCentral()
maven { url "http://repo.springsource.org/libs-snapshot" }
mavenCentral()
maven { url "http://repo.springsource.org/libs-snapshot" }
}
dependencies {
compile("org.springframework.boot:spring-boot-starter-thymeleaf")
compile("org.hibernate:hibernate-validator")
testCompile("org.springframework.boot:spring-boot-starter-test")
compile("org.springframework.boot:spring-boot-starter-thymeleaf")
compile("org.hibernate:hibernate-validator")
testCompile("org.springframework.boot:spring-boot-starter-test")
}
task wrapper(type: Wrapper) {
gradleVersion = '1.6'
}
task wrapper(type: Wrapper) { gradleVersion = '1.6' }

View File

@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<!-- Your own application should inherit from spring-boot-starter-parent -->