12345678910111213141516171819202122232425262728293031323334353637383940 |
- buildscript {
- repositories {
- mavenCentral()
- }
- dependencies {
- classpath("org.springframework.boot:spring-boot-gradle-plugin:1.2.1.RELEASE")
- }
- }
-
- apply plugin: 'java'
- apply plugin: 'eclipse'
- apply plugin: 'idea'
- apply plugin: 'spring-boot'
-
- jar {
- baseName = 'gs-spring-boot'
- version = '0.1.0'
- }
-
- repositories {
- mavenCentral()
- }
-
- dependencies {
- // tag::jetty[]
- compile("org.springframework.boot:spring-boot-starter-web") {
- exclude module: "spring-boot-starter-tomcat"
- }
- compile("org.springframework.boot:spring-boot-starter-jetty")
- // end::jetty[]
- // tag::actuator[]
- compile("org.springframework.boot:spring-boot-starter-actuator")
- // end::actuator[]
- testCompile("junit:junit")
- }
-
- task wrapper(type: Wrapper) {
- gradleVersion = '1.11'
- }
|