jsword-minimalbible/build.gradle
2015-06-13 18:46:54 -04:00

53 lines
1.1 KiB
Groovy

group 'org.bspeice'
version '1.0-SNAPSHOT'
apply plugin: 'java'
repositories {
mavenCentral()
}
sourceSets {
main {
java {
srcDir 'src/main/java'
}
resources {
srcDir 'src/main/resources'
}
}
}
println(sourceSets.main.java)
task mergeSources(type: Copy) {
from 'jsword/src/main/java'
from 'src/stage/java'
into 'src/main/java'
}
task mergeResources(type: Copy) {
from 'jsword/src/main/resources'
from 'src/stage/resources'
into 'src/main/resources'
}
tasks.compileJava.dependsOn(mergeSources)
dependencies {
compile 'commons-net:commons-net:3.3'
compile 'org.apache.commons:commons-compress:1.7'
compile 'org.apache.httpcomponents:httpcore:4.3.2'
compile 'org.apache.httpcomponents:httpclient:4.3.2'
compile 'org.slf4j:slf4j-api:1.7.6'
compile 'org.jdom:jdom2:2.0.5'
compile 'org.apache.lucene:lucene-core:3.0.3'
compile 'org.apache.lucene:lucene-analyzers:3.0.3'
compile 'org.apache.lucene:lucene-snowball:3.0.3'
compile 'org.apache.lucene:lucene-smartcn:3.0.3'
testCompile group: 'junit', name: 'junit', version: '4.11'
}