1234567891011121314151617181920212223242526272829303132333435 |
- buildscript {
- repositories {
- mavenCentral()
- }
- dependencies {
- classpath("org.springframework.boot:spring-boot-gradle-plugin:1.1.10.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 {
- compile("org.springframework.boot:spring-boot-starter-web")
- // tag::actuator[]
- compile("org.springframework.boot:spring-boot-starter-actuator")
- // end::actuator[]
- testCompile("junit:junit")
- }
-
- task wrapper(type: Wrapper) {
- gradleVersion = '1.11'
- }
|