Skip to content

Commit

Permalink
Fix Liquibase native issue
Browse files Browse the repository at this point in the history
  • Loading branch information
geoand committed Jun 25, 2024
1 parent f5bc656 commit 5563ae8
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package io.quarkus.liquibase.deployment;

import static io.quarkus.deployment.annotations.ExecutionTime.STATIC_INIT;
import static java.util.function.Predicate.not;

import java.io.IOException;
import java.nio.file.Paths;
Expand Down Expand Up @@ -254,11 +253,7 @@ void nativeImageConfiguration(
}

private static Predicate<String> commandStepPredicate(Capabilities capabilities) {
if (capabilities.isPresent("io.quarkus.jdbc.h2")) {
return (s) -> true;
} else {
return not("liquibase.command.core.StartH2CommandStep"::equals);
}
return (s) -> true;
}

private void consumeService(Class<?> serviceClass, BiConsumer<Class<?>, Collection<String>> consumer) {
Expand Down

0 comments on commit 5563ae8

Please sign in to comment.