I am trying to build a JMS (activeMq) based application using gradle. I need the javax.jms api dependency to be downloaded. I add this to my compile time dependency:
dependencies{
compile 'org.springframework:spring-jms:'+deps.springVersion,
'org.springframework:spring-messaging:'+deps.springVersion,
'javax.jms:jms:1.1'
}
Upon gradle build, it says that the jar cannot be downloaded. When I navigate to the maven Central and click on download jar, the jar is not present, so I guess that's why the jar is not getting downloaded by gradle. How can I include this dependency in gradle ? is there a way out ?