2015-06-13 18:46:54 -04:00
|
|
|
group 'org.bspeice'
|
|
|
|
version '1.0-SNAPSHOT'
|
|
|
|
|
|
|
|
apply plugin: 'java'
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
2014-04-30 22:27:35 -04:00
|
|
|
}
|
|
|
|
|
2015-06-13 18:46:54 -04:00
|
|
|
sourceSets {
|
|
|
|
main {
|
|
|
|
java {
|
|
|
|
srcDir 'src/main/java'
|
|
|
|
}
|
|
|
|
resources {
|
|
|
|
srcDir 'src/main/resources'
|
|
|
|
}
|
2014-05-05 00:53:32 -04:00
|
|
|
}
|
2014-05-03 23:19:44 -04:00
|
|
|
}
|
|
|
|
|
2015-06-13 18:46:54 -04:00
|
|
|
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'
|
2014-04-30 22:27:35 -04:00
|
|
|
}
|