From 5bd61b37c91e19075fd18a92a0a4eb0f1c57dd9a Mon Sep 17 00:00:00 2001 From: Pascal Grimaud Date: Fri, 16 Dec 2022 12:45:51 +0100 Subject: [PATCH] Fix native build related to sb3 --- .../lite/module/infrastructure/secondary/git/NativeHints.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/tech/jhipster/lite/module/infrastructure/secondary/git/NativeHints.java b/src/main/java/tech/jhipster/lite/module/infrastructure/secondary/git/NativeHints.java index 49535698d43..98f81f301cd 100644 --- a/src/main/java/tech/jhipster/lite/module/infrastructure/secondary/git/NativeHints.java +++ b/src/main/java/tech/jhipster/lite/module/infrastructure/secondary/git/NativeHints.java @@ -3,6 +3,7 @@ import org.eclipse.jgit.api.*; import org.eclipse.jgit.internal.*; import org.eclipse.jgit.lib.*; +import org.eclipse.jgit.util.sha1.SHA1; import org.springframework.aot.hint.*; import tech.jhipster.lite.common.domain.*; @@ -24,6 +25,7 @@ public void registerHints(RuntimeHints hints, ClassLoader classLoader) { .registerType(MergeCommand.FastForwardMode.class, MemberCategory.values()) .registerType(MergeCommand.FastForwardMode.Merge.class, MemberCategory.values()) .registerType(JGitText.class, MemberCategory.values()) + .registerType(SHA1.Sha1Implementation.class, MemberCategory.values()) .registerType(CoreConfig.AutoCRLF.class, MemberCategory.values()) .registerType(CoreConfig.CheckStat.class, MemberCategory.values()) .registerType(CoreConfig.EOL.class, MemberCategory.values())