From abc8225e9ddff097abe0f94b2da8fa9b62af4a72 Mon Sep 17 00:00:00 2001 From: Steve Ebersole Date: Thu, 7 Oct 2021 13:10:53 -0500 Subject: [PATCH] at the moment we expose `antlr` as an implementation dependency, which is exposed as a compile dependency. Instead use `antlr_runtime` as a runtime-only dependency and `antlr` for the `AntlrPlugin` --- hibernate-core/hibernate-core.gradle | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/hibernate-core/hibernate-core.gradle b/hibernate-core/hibernate-core.gradle index 89b03a64bf..ed12f30a16 100644 --- a/hibernate-core/hibernate-core.gradle +++ b/hibernate-core/hibernate-core.gradle @@ -21,9 +21,6 @@ configurations { tests { description = 'Configuration for the produced test jar' } - implementation { - extendsFrom antlr - } } @@ -40,6 +37,8 @@ dependencies { implementation libraries.jakarta_jaxb_runtime implementation libraries.jakarta_inject + runtimeOnly libraries.antlr4_runtime + compileOnly libraries.jakarta_jacc compileOnly libraries.jakarta_validation compileOnly libraries.jakarta_cdi