我的build.gradle中有以下依赖项。
dependencies {
compile("org.springframework:spring-context:4.1.7.RELEASE")
compile("org.springframework:spring-orm:4.1.7.RELEASE")
compile("org.springframework:spring-web:4.1.7.RELEASE")
compile("org.springframework:spring-webmvc:4.1.7.RELEASE")
}如何获得这些库的源代码?
发布于 2015-07-11 20:05:35
如果您使用Eclipse,那么Eclipse插件将为您完成此任务。
通过在您的build.gradle文件中添加适用插件:“eclipse”来安装eclipse插件。然后运行gradle Eclipse以生成Eclipse、.classpath和.settings文件。插件将自动下载所有可用的源,并在.classpath文件中添加它们的引用(请参阅theclasspathentry元素的新源代码属性)。
希望这就是你所需要的。如果需要另一个解决方案,请告诉我。
https://stackoverflow.com/questions/31360672
复制相似问题