2016-11-04 18:38:15 +08:00
|
|
|
buildscript {
|
|
|
|
ext {
|
2018-11-29 00:10:07 +08:00
|
|
|
springBootVersion = '2.1.1.RELEASE'
|
2016-11-04 18:38:15 +08:00
|
|
|
}
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
dependencies {
|
|
|
|
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
apply plugin: 'java'
|
|
|
|
apply plugin: 'eclipse'
|
2018-11-29 00:10:07 +08:00
|
|
|
apply plugin: 'org.springframework.boot'
|
2016-11-04 18:38:15 +08:00
|
|
|
apply plugin: 'io.spring.dependency-management'
|
|
|
|
|
2017-09-15 19:12:11 +08:00
|
|
|
group = 'com.example'
|
2017-03-15 21:19:11 +08:00
|
|
|
version = '0.0.1-SNAPSHOT'
|
2019-01-05 17:13:06 +08:00
|
|
|
sourceCompatibility = '1.8'
|
2016-11-04 18:38:15 +08:00
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
dependencies {
|
2019-01-09 07:30:48 +08:00
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
|
|
compileOnly 'org.acme:foo'
|
|
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
2016-11-04 18:38:15 +08:00
|
|
|
}
|