mirror of https://github.com/halo-dev/halo
Change lombok plugin to lombok dependency.
parent
263bf215da
commit
260412fb88
|
@ -1,6 +1,5 @@
|
||||||
plugins {
|
plugins {
|
||||||
id 'org.springframework.boot' version '2.1.3.RELEASE'
|
id 'org.springframework.boot' version '2.1.3.RELEASE'
|
||||||
id "io.freefair.lombok" version "3.1.4"
|
|
||||||
id 'java'
|
id 'java'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -25,7 +24,12 @@ configurations {
|
||||||
exclude module: 'spring-boot-starter-tomcat'
|
exclude module: 'spring-boot-starter-tomcat'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
compileOnly {
|
||||||
|
extendsFrom annotationProcessor
|
||||||
|
}
|
||||||
|
|
||||||
developmentOnly
|
developmentOnly
|
||||||
|
|
||||||
runtimeClasspath {
|
runtimeClasspath {
|
||||||
extendsFrom developmentOnly
|
extendsFrom developmentOnly
|
||||||
}
|
}
|
||||||
|
@ -70,6 +74,9 @@ dependencies {
|
||||||
runtimeOnly 'com.h2database:h2'
|
runtimeOnly 'com.h2database:h2'
|
||||||
runtimeOnly 'mysql:mysql-connector-java'
|
runtimeOnly 'mysql:mysql-connector-java'
|
||||||
|
|
||||||
|
compileOnly 'org.projectlombok:lombok'
|
||||||
|
annotationProcessor 'org.projectlombok:lombok'
|
||||||
|
|
||||||
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
||||||
|
|
||||||
developmentOnly 'org.springframework.boot:spring-boot-devtools'
|
developmentOnly 'org.springframework.boot:spring-boot-devtools'
|
||||||
|
|
Loading…
Reference in New Issue