12345678910111213141516171819202122232425262728293031323334 |
- buildscript {
- repositories {
- mavenCentral()
- }
- dependencies {
- classpath("org.springframework.boot:spring-boot-gradle-plugin:2.0.1.RELEASE")
- }
- }
-
- apply plugin: 'java'
- apply plugin: 'eclipse'
- apply plugin: 'idea'
- apply plugin: 'org.springframework.boot'
- apply plugin: 'io.spring.dependency-management'
-
- bootJar {
- baseName = 'gs-spring-boot'
- version = '0.1.0'
- }
-
- repositories {
- mavenCentral()
- }
-
- sourceCompatibility = 1.8
- targetCompatibility = 1.8
-
- dependencies {
- compile("org.springframework.boot:spring-boot-starter-web")
- testCompile("junit:junit")
- testCompile("org.springframework.boot:spring-boot-starter-test")
- compile("org.springframework.boot:spring-boot-starter-actuator")
- }
|