refactory

This commit is contained in:
2022-04-29 12:35:14 +03:00
parent a868b66e0c
commit cbfe2c50a7
32 changed files with 603 additions and 383 deletions

View File

@@ -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()
}
}