refactory
This commit is contained in:
16
build.gradle
16
build.gradle
@@ -7,9 +7,7 @@ buildscript {
|
||||
}
|
||||
dependencies {
|
||||
// https://plugins.gradle.org/plugin/org.springframework.boot
|
||||
classpath "org.springframework.boot:spring-boot-gradle-plugin:${pluginSpringBootVerson}"
|
||||
// https://plugins.gradle.org/plugin/io.spring.dependency-management
|
||||
classpath "io.spring.gradle:dependency-management-plugin:${pluginSpringBomVerson}"
|
||||
classpath "org.springframework.boot:spring-boot-gradle-plugin:${springBootVerson}"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -29,9 +27,15 @@ subprojects {
|
||||
dependencies {
|
||||
annotationProcessor("org.projectlombok:lombok:${lombokVersion}")
|
||||
compileOnly("org.projectlombok:lombok:${lombokVersion}")
|
||||
|
||||
testAnnotationProcessor("org.projectlombok:lombok:${lombokVersion}")
|
||||
testCompileOnly("org.projectlombok:lombok:${lombokVersion}")
|
||||
testImplementation("org.junit.jupiter:junit-jupiter-api:${junitJupiterVersion}")
|
||||
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:${junitJupiterVersion}")
|
||||
testImplementation("org.mockito:mockito-core:${mockitoCoreVersion}")
|
||||
}
|
||||
|
||||
configurations.implementation.resolutionStrategy {
|
||||
failOnVersionConflict()
|
||||
}
|
||||
test {
|
||||
useJUnitPlatform()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user