From 1a500e8fadc80467c3a647679683539cd50dc245 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Mino?= Date: Sat, 13 Jan 2024 14:56:31 +0100 Subject: [PATCH] ProtobufBackwardsCompatibilityCheckModule currently only works with maven, so add a dependency to Maven slug to make it explicit --- .../infrastructure/primary/ProtobufModuleConfiguration.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/tech/jhipster/lite/generator/server/javatool/protobuf/infrastructure/primary/ProtobufModuleConfiguration.java b/src/main/java/tech/jhipster/lite/generator/server/javatool/protobuf/infrastructure/primary/ProtobufModuleConfiguration.java index 1a42ccbdeac..3b0ed1eb640 100644 --- a/src/main/java/tech/jhipster/lite/generator/server/javatool/protobuf/infrastructure/primary/ProtobufModuleConfiguration.java +++ b/src/main/java/tech/jhipster/lite/generator/server/javatool/protobuf/infrastructure/primary/ProtobufModuleConfiguration.java @@ -31,7 +31,9 @@ JHipsterModuleResource protobufBackwardsCompatibilityCheckModule(ProtobufApplica .slug(JHLiteModuleSlug.PROTOBUF_BACKWARDS_COMPATIBILITY_CHECK) .propertiesDefinition(JHipsterModulePropertiesDefinition.builder().addBasePackage().addIndentation().build()) .apiDoc("Java", "Add protobuf backwards compatibility check") - .organization(JHipsterModuleOrganization.builder().addDependency(JHLiteModuleSlug.PROTOBUF).build()) + .organization( + JHipsterModuleOrganization.builder().addDependency(JHLiteModuleSlug.PROTOBUF).addDependency(JHLiteModuleSlug.MAVEN_JAVA).build() + ) .tags("server", "protobuf") .factory(protobuf::buildProtobufBackwardsCompatibilityCheckModule); }