12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- plugins {
- id 'io.spring.dependency-management' version '1.0.11.RELEASE'
- }
- subprojects {
- apply plugin: "java-library"
- apply plugin: "idea"
- apply plugin: "eclipse"
- apply plugin: "maven-publish"
- apply plugin: 'io.spring.dependency-management'
- [compileJava, compileTestJava, javadoc]*.options*.encoding = "UTF-8"
- configurations {
- all*.exclude module: "spring-boot-starter-tomcat"
- all*.exclude module: "spring-boot-starter-logging"
- }
- dependencyManagement {
- imports {
- mavenBom "org.springframework.cloud:spring-cloud-dependencies:$springCloudVersion"
- mavenBom "org.springframework.boot:spring-boot-dependencies:$springBootVersion"
- mavenBom "com.alibaba.cloud:spring-cloud-alibaba-dependencies:$springCloudAlibabaVersion"
- }
- }
- dependencies {
- compileOnly("org.projectlombok:lombok:$lombokVersion")
- annotationProcessor("org.projectlombok:lombok:$lombokVersion")
- // implementation("org.apache.logging.log4j:log4j-core:$log4jVersion")
- // implementation("org.apache.logging.log4j:log4j-jul:$log4jVersion")
- // implementation("org.apache.logging.log4j:log4j-api:$log4jVersion")
- // implementation("org.apache.logging.log4j:log4j-slf4j-impl:$log4jVersion")
- implementation("org.springframework.boot:spring-boot-starter-log4j2:$springBootVersion")
- }
- repositories {
- mavenLocal()
- maven {
- allowInsecureProtocol = true
- url "http://maven.aliyun.com/nexus/content/groups/public/"
- }
- mavenCentral()
- }
- }
|