From d86dd0ff32a9a6f3ab0bb289a69ebba2cc85895a Mon Sep 17 00:00:00 2001 From: carrypan Date: Mon, 21 Jun 2021 22:12:32 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E9=9D=9E=E7=A9=BA=E6=A8=A1?= =?UTF-8?q?=E5=9D=97=E5=BA=94=E7=94=A8java=E6=8F=92=E4=BB=B6=20#73?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/kotlin/com/tencent/devops/DevOpsBootPlugin.kt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/devops-boot-project/devops-boot-tools/devops-boot-gradle-plugin/src/main/kotlin/com/tencent/devops/DevOpsBootPlugin.kt b/devops-boot-project/devops-boot-tools/devops-boot-gradle-plugin/src/main/kotlin/com/tencent/devops/DevOpsBootPlugin.kt index df44941..4f4b8d2 100644 --- a/devops-boot-project/devops-boot-tools/devops-boot-gradle-plugin/src/main/kotlin/com/tencent/devops/DevOpsBootPlugin.kt +++ b/devops-boot-project/devops-boot-tools/devops-boot-gradle-plugin/src/main/kotlin/com/tencent/devops/DevOpsBootPlugin.kt @@ -16,10 +16,11 @@ class DevOpsBootPlugin : Plugin { override fun apply(project: Project) { RepositoryConvention().apply(project) + // solve issue 73 + JavaConvention().apply(project) + KotlinConvention().apply(project) // ignore the next configuration if this is an empty project if (isNotEmptyProject(project)) { - JavaConvention().apply(project) - KotlinConvention().apply(project) SpringBootConvention().apply(project) JUnitConvention().apply(project) }