svn commit: r1863060 - /ofbiz/ofbiz-framework/trunk/build.gradle

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1863060 - /ofbiz/ofbiz-framework/trunk/build.gradle

mthl
Author: mthl
Date: Sun Jul 14 17:00:16 2019
New Revision: 1863060

URL: http://svn.apache.org/viewvc?rev=1863060&view=rev
Log:
Improved: Upgrade Hamcrest library to version 2.1
(OFBIZ-11139)

Modified:
    ofbiz/ofbiz-framework/trunk/build.gradle

Modified: ofbiz/ofbiz-framework/trunk/build.gradle
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/build.gradle?rev=1863060&r1=1863059&r2=1863060&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/build.gradle (original)
+++ ofbiz/ofbiz-framework/trunk/build.gradle Sun Jul 14 17:00:16 2019
@@ -200,7 +200,6 @@ dependencies {
     implementation 'org.apache.xmlrpc:xmlrpc-server:3.1.3'
     implementation 'org.codehaus.groovy:groovy-all:2.4.16' // Remember to change the version number in javadoc.options block
     implementation 'org.freemarker:freemarker:2.3.28' // Remember to change the version number in FreeMarkerWorker class when upgrading
-    implementation 'org.hamcrest:hamcrest-all:1.3'
     implementation 'org.owasp.esapi:esapi:2.1.0.1'
     implementation 'org.springframework:spring-test:5.1.6.RELEASE'
     implementation 'org.zapodot:jackson-databind-java-optional:2.6.1'
@@ -209,6 +208,8 @@ dependencies {
     implementation 'org.jsoup:jsoup:1.11.3'
     implementation 'io.jsonwebtoken:jjwt:0.9.1'
     implementation 'org.json:json:20140107'
+    testImplementation 'org.hamcrest:hamcrest:2.1'
+    testImplementation 'org.hamcrest:hamcrest-library:2.1' // Enable junit4 to not depend on hamcrest-1.3
     testImplementation 'org.mockito:mockito-core:2.27.0'
     runtimeOnly 'javax.xml.soap:javax.xml.soap-api:1.4.0'
     runtimeOnly 'de.odysseus.juel:juel-spi:2.2.7'