12345678910111213141516171819202122232425262728 |
- subprojects {
- apply plugin: "java"
- apply plugin: "idea"
- apply plugin: "eclipse"
- apply plugin: "maven"
- [compileJava,compileTestJava,javadoc]*.options*.encoding = "UTF-8"
- configurations {
- all*.exclude module: "spring-boot-starter-tomcat"
- all*.exclude module: "spring-boot-starter-logging"
- }
- dependencies{
- //添加如下的依赖后,可以不安装lombok插件
- compileOnly 'org.projectlombok:lombok:1.18.12'
- annotationProcessor 'org.projectlombok:lombok:1.18.12'
- // testAnnotationProcessor 'org.projectlombok:lombok:$lombokVersion'
- // testCompileOnly 'org.projectlombok:lombok:$lombokVersion'
- }
- repositories {
- mavenLocal()
- maven { url "http://maven.aliyun.com/nexus/content/groups/public/" }
- mavenCentral()
- }
- }
|