Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
apply plugin: 'java'
apply plugin: 'eclipse'
// apply plugin 'war'
version = '0.1-SNAPSHOT'
compileJava {
options.encoding='UTF-8'
}
compileTestJava {
options.encoding='UTF-8'
}
repositories {
mavenCentral()
mavenRepo urls: 'http://repository.jboss.org/nexus/content/groups/public/'
}
dependencies {
compile group: 'org.hibernate', name: 'hibernate-core', version: '3.6.0.Beta2'
compile group: 'org.slf4j', name: 'slf4j-log4j12', version: '1.6.1'
compile group: 'log4j', name: 'log4j', version: '1.2.+'
compile group: 'org.hibernate', name: 'hibernate-search', version: '3.3.0.Alpha1'
compile group: 'org.hibernate', name: 'hibernate-entitymanager', version: '3.6.0.Beta2', ext: 'jar'
compile group: 'net.htmlparser.jericho', name: 'jericho-html', version: '3.1'
testCompile group: 'junit', name: 'junit', version: '4.+'
testCompile group: 'org.mockito', name: 'mockito-all', version: '1.8.5'
lib = "$projectDir/lib"
compile files(fileTree(dir: lib as File, includes: ['*.jar']))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment