From 71ec8907f66d974850058f212a5eac410a43e89d Mon Sep 17 00:00:00 2001 From: Steve Ebersole Date: Thu, 12 Jan 2017 21:53:54 -0600 Subject: [PATCH] HHH-11370 - Consider making javax.enterprise:cdi-api dependency "provided" --- hibernate-core/hibernate-core.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hibernate-core/hibernate-core.gradle b/hibernate-core/hibernate-core.gradle index eca358d7ef..1933f576c6 100644 --- a/hibernate-core/hibernate-core.gradle +++ b/hibernate-core/hibernate-core.gradle @@ -79,7 +79,7 @@ dependencies { testCompile( 'joda-time:joda-time:2.3' ) // testCompile( "org.jboss.weld:weld-core:2.3.4.Final" ) // testCompile( "org.jboss.arquillian.container:arquillian-weld-ee-embedded-1.1:1.0.0.CR9" ) - compile( "javax.enterprise:cdi-api:${cdiVersion}" ) { + testCompile( "javax.enterprise:cdi-api:${cdiVersion}" ) { // we need to force it to make sure we influence the one coming from arquillian force=true }