mirror of
https://github.com/MinimalBible/jsword-minimalbible
synced 2024-11-22 07:58:20 -05:00
37f46bcf6d
This reverts commit 61dbab2491
.
53 lines
1.1 KiB
Groovy
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'
|
|
}
|