I'm currently using Eclipse with Buildship plugin. I want to download Spring and Hibernate JARs into my gradle project, how do I do this? I placed the following in my build.gradle file for dependencies:
apply plugin: 'java'
dependencies {
compile 'org.springframework:spring-context:4.2.6.RELEASE'
}
repositories {
jcentral()
}
jar {
manifest {
attributes 'Main-Class': 'one.MainClass'
}
}
Upon running gradle build, it says that the build is successful, and I can run the JAR file produced. I cannot however, find the Spring JARs.
How can I download the Spring jars into my eclipse project so i can add them to the build path?