From d4abc2552233681cec72b670b72bf44ab696aa4f Mon Sep 17 00:00:00 2001 From: BingZi-233 Date: Thu, 14 Nov 2024 09:58:06 +0800 Subject: [PATCH] remove kotlin module feature attribute --- .../infrastructure/primary/KotlinModuleConfiguration.java | 3 +-- .../jhipster/lite/shared/slug/domain/JHLiteFeatureSlug.java | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/tech/jhipster/lite/generator/language/kotlin/infrastructure/primary/KotlinModuleConfiguration.java b/src/main/java/tech/jhipster/lite/generator/language/kotlin/infrastructure/primary/KotlinModuleConfiguration.java index 86a71378be7..86cf781ef38 100644 --- a/src/main/java/tech/jhipster/lite/generator/language/kotlin/infrastructure/primary/KotlinModuleConfiguration.java +++ b/src/main/java/tech/jhipster/lite/generator/language/kotlin/infrastructure/primary/KotlinModuleConfiguration.java @@ -1,6 +1,5 @@ package tech.jhipster.lite.generator.language.kotlin.infrastructure.primary; -import static tech.jhipster.lite.shared.slug.domain.JHLiteFeatureSlug.EXTRA_LANGUAGE; import static tech.jhipster.lite.shared.slug.domain.JHLiteModuleSlug.GRADLE_JAVA; import static tech.jhipster.lite.shared.slug.domain.JHLiteModuleSlug.GRADLE_KOTLIN; @@ -19,7 +18,7 @@ JHipsterModuleResource gradleKotlinLanguageModule(KotlinApplicationService gradl .slug(GRADLE_KOTLIN) .withoutProperties() .apiDoc("Extra Language", "Add Kotlin Language Supports") - .organization(JHipsterModuleOrganization.builder().feature(EXTRA_LANGUAGE).addDependency(GRADLE_JAVA).build()) + .organization(JHipsterModuleOrganization.builder().addDependency(GRADLE_JAVA).build()) .tags("buildtool", "test") .factory(gradle::buildKotlinLanguageModule); } diff --git a/src/main/java/tech/jhipster/lite/shared/slug/domain/JHLiteFeatureSlug.java b/src/main/java/tech/jhipster/lite/shared/slug/domain/JHLiteFeatureSlug.java index 9ec0ab7e082..cca8f6c2a05 100644 --- a/src/main/java/tech/jhipster/lite/shared/slug/domain/JHLiteFeatureSlug.java +++ b/src/main/java/tech/jhipster/lite/shared/slug/domain/JHLiteFeatureSlug.java @@ -21,7 +21,6 @@ public enum JHLiteFeatureSlug implements JHipsterFeatureSlugFactory { CODE_COVERAGE_JAVA("code-coverage-java"), JAVA_BUILD_TOOL("java-build-tool"), JAVA_BUILD_TOOL_WRAPPER("java-build-tool-wrapper"), - EXTRA_LANGUAGE("extra-language"), JPA_PERSISTENCE("jpa-persistence"), LICENSE("license"), OAUTH_PROVIDER("oauth-provider"),