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