version = '1.0' apply plugin: 'java' apply plugin: 'idea' repositories { mavenLocal() maven {url "http://maven.aliyun.com/nexus/content/groups/public/"} } dependencies { compile 'commons-collections:commons-collections:3.2' compile 'org.hibernate:hibernate-core:3.6.9.Final' compile 'javax.persistence:persistence-api:1.0' compile 'org.apache.commons:commons-lang3:3.4' compile 'net.sf.json-lib:json-lib:2.4:jdk15' compile('org.springframework.data:spring-data-commons:1.12.6.RELEASE'){ transitive = false } compile('org.springframework.data:spring-data-mongodb:1.9.6.RELEASE'){ transitive = false } compile fileTree(dir: '../lib', include: '*.jar') }