Skip to content

Commit

Permalink
HHH-13937 get rid of junit5 compile-time dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanQingyangXu committed Apr 9, 2020
1 parent 5d1aea1 commit 1ab9412
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
9 changes: 4 additions & 5 deletions hibernate-core/hibernate-core.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,7 @@ dependencies {
provided( libraries.ant )
provided( libraries.cdi )

runtime( libraries.junit5_vintage )
runtime( libraries.junit5_jupiter )

testCompile( project(':hibernate-testing') )
testCompile( project(':hibernate-testing') )
testCompile( libraries.shrinkwrap_api )
testCompile( libraries.shrinkwrap )
testCompile( libraries.jacc )
Expand Down Expand Up @@ -124,7 +121,9 @@ dependencies {
testRuntime( libraries.weld )
testRuntime( libraries.atomikos )
testRuntime( libraries.atomikos_jta )
testRuntime(libraries.wildfly_transaction_client)
testRuntime( libraries.wildfly_transaction_client )
testRuntime( libraries.junit5_vintage )
testRuntime( libraries.junit5_jupiter )

testAnnotationProcessor( project( ':hibernate-jpamodelgen' ) )

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
import org.jboss.shrinkwrap.descriptor.api.persistence21.PersistenceDescriptor;
import org.jboss.shrinkwrap.descriptor.api.persistence21.PersistenceUnitTransactionType;
import org.junit.Test;
import org.junit.jupiter.api.Disabled;
import org.junit.runner.RunWith;

import static org.junit.Assert.assertEquals;
Expand Down

0 comments on commit 1ab9412

Please sign in to comment.