12345678910111213141516171819202122232425262728293031323334353637 |
- buildscript {
- repositories {
- mavenLocal()
- mavenCentral()
- }
- ext{
- springBootVersion = '2.1.3.RELEASE'
- }
- dependencies {
- classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
- }
- }
- //子工程的(都可使用)
- subprojects {
- group'com.weidong'
- version '1.0-SNAPSHOT'
- apply plugin:'java'
- apply plugin: 'io.spring.dependency-management'
- apply plugin: 'org.springframework.boot'
- repositories {
- mavenLocal()
- mavenCentral()
- }
- dependencies {
- compile 'org.springframework.boot:spring-boot-starter-web'
- annotationProcessor 'org.projectlombok:lombok:1.18.2'
- compileOnly 'org.projectlombok:lombok:1.18.2'
- compile 'org.springframework.boot:spring-boot-starter-thymeleaf'
- compile("org.springframework.boot:spring-boot-devtools")
- }
- }
|