gradle文件: apply plugin: 'java' apply plugin: 'eclipse' repositories { mavenCentral() } dependencies { compile group: 'org.apache.poi', name: 'poi-ooxml', version: '3.14' compile group: 'org.apache.poi', name: 'poi', version: '3.14' compile group: 'org.apache.xmlbeans', name: 'xmlbeans', version: '2.6.0' } task download(type: Copy) { from configurations.runtime into 'lib' //下载内容存到lib中 } 执行gradle的命令: 进入eclipse的workspace的目录中,找到gradle文件目录,输入命令 [ gradle download ]
by: 发表于:2017-07-17 16:45:52 顶(0) | 踩(0) 回复
??
回复评论