Skip to content

Commit

Permalink
feat
Browse files Browse the repository at this point in the history
  • Loading branch information
livk-cloud committed Sep 21, 2022
1 parent b88cdef commit 97569a8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,14 @@ configure(gradleModuleProjects) {
apply(plugin = "org.jetbrains.kotlin.jvm")

dependencies {
dependencyBom(platform(project(":livk-cloud-dependencies")))
management(platform(project(":livk-cloud-dependencies")))
annotationProcessor("org.projectlombok:lombok")

compileOnly("org.projectlombok:lombok")

testImplementation("org.springframework.boot:spring-boot-starter-test")
testImplementation("org.projectlombok:lombok")
testImplementation("org.springframework:spring-tx")
testCompileOnly("org.projectlombok:lombok")

testAnnotationProcessor("org.projectlombok:lombok")
}
Expand Down
2 changes: 1 addition & 1 deletion buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ gradlePlugin {
}
create("dependencyBomPlugin") {
id = "com.livk.dependency"
implementationClass = "com.livk.DependencyBomPlugin"
implementationClass = "com.livk.management.ManagementPlugin"
description = "build dependency BOM"
}
create("resourcesPlugin") {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.livk
package com.livk.management

import org.gradle.api.Plugin
import org.gradle.api.Project
Expand All @@ -16,9 +16,9 @@ import org.gradle.api.publish.maven.plugins.MavenPublishPlugin
* @author livk
* @date 2022/7/8
*/
abstract class DependencyBomPlugin : Plugin<Project> {
abstract class ManagementPlugin : Plugin<Project> {
companion object {
const val DEPENDENCY_BOM = "dependencyBom"
const val DEPENDENCY_BOM = "management"

val DEPENDENCY_NAMES_SET = HashSet<String>()

Expand Down

0 comments on commit 97569a8

Please sign in to comment.