Fix JMS test library for Java 7
@@ -27,7 +27,8 @@ dependencies {
testCompile group: 'org.apache.activemq', name: 'activemq-pool', version: '5.14.5'
testCompile group: 'org.apache.activemq', name: 'activemq-broker', version: '5.14.5'
- testCompile group: 'javax.annotation', name: 'javax.annotation-api', version: '1.3.2' //required for Java 11+
+ // required for Java 11+ . Latest version that runs on Java 7
+ testCompile group: 'javax.annotation', name: 'javax.annotation-api', version: '1.2'
testCompile group: 'org.springframework', name: 'spring-jms', version: '4.3.21.RELEASE' // 4.x required for Java 7
latestDepTestCompile group: 'org.hornetq', name: 'hornetq-jms-client', version: '2.4.7.Final'
