diff --git a/core/deployment/src/main/java/io/quarkus/deployment/steps/ClassPathSystemPropBuildStep.java b/core/deployment/src/main/java/io/quarkus/deployment/steps/ClassPathSystemPropBuildStep.java index dccb19214baec..ef13a10c2d896 100644 --- a/core/deployment/src/main/java/io/quarkus/deployment/steps/ClassPathSystemPropBuildStep.java +++ b/core/deployment/src/main/java/io/quarkus/deployment/steps/ClassPathSystemPropBuildStep.java @@ -6,7 +6,6 @@ import java.util.List; import java.util.stream.Stream; -import io.quarkus.deployment.annotations.BuildProducer; import io.quarkus.deployment.annotations.BuildStep; import io.quarkus.deployment.annotations.ExecutionTime; import io.quarkus.deployment.annotations.Record; @@ -17,15 +16,6 @@ public class ClassPathSystemPropBuildStep { - @BuildStep - public void produce(BuildProducer producer, CurateOutcomeBuildItem curateOutcome) { - boolean truffleUsed = curateOutcome.getApplicationModel().getDependencies().stream() - .anyMatch(d -> d.getGroupId().equals("org.graalvm.polyglot")); - if (truffleUsed) { - producer.produce(new SetClassPathSystemPropBuildItem()); - } - } - @BuildStep @Record(ExecutionTime.STATIC_INIT) public void set(List setCPItems,