-
Notifications
You must be signed in to change notification settings - Fork 467
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
9 changed files
with
128 additions
and
1,495 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,120 @@ | ||
buildscript { | ||
repositories { | ||
mavenCentral() | ||
jcenter() | ||
} | ||
dependencies { | ||
classpath group: 'net.researchgate', name: 'gradle-release', version: '2.4.0' | ||
} | ||
} | ||
apply plugin: 'maven' | ||
apply plugin: 'java' | ||
apply plugin: 'net.researchgate.release' | ||
|
||
subprojects { | ||
sourceCompatibility = 1.8 | ||
targetCompatibility = 1.8 | ||
|
||
apply plugin: 'maven' | ||
apply plugin: 'java' | ||
|
||
repositories { | ||
mavenCentral() | ||
jcenter() | ||
repositories { | ||
maven { | ||
url new File(rootProject.rootDir, "grobid-core/lib") | ||
} | ||
} | ||
} | ||
|
||
configurations { | ||
all*.exclude group: 'org.slf4j', module: "slf4j-jdk14" | ||
all*.exclude group: 'org.slf4j', module: "slf4j-log4j12" | ||
all*.exclude group: 'log4j', module: "log4j" | ||
all*.exclude module: 'slf4j-jdk14' | ||
} | ||
|
||
dependencies { | ||
testCompile "junit:junit:4.12" | ||
testCompile "org.easymock:easymock:3.4" | ||
testCompile "org.powermock:powermock-api-easymock:1.6.6" | ||
testCompile "org.powermock:powermock-module-junit4:1.6.6" | ||
testCompile "xmlunit:xmlunit:1.6" | ||
testCompile "org.hamcrest:hamcrest-all:1.3" | ||
} | ||
|
||
} | ||
|
||
project("grobid-core") { | ||
|
||
|
||
dependencies { | ||
// local libs | ||
compile "org.chasen:crfpp:1.0.2" | ||
compile "fr.limsi.wapiti:wapiti:1.5.0" | ||
compile "org.wipo.analysers:wipo-analysers:0.0.2" | ||
compile "eugfc:imageio-pnm:1.0" | ||
// end of local libs | ||
|
||
compile (group: 'xml-apis', name: 'xml-apis', version: '1.4.01') { | ||
// otherwise xml-apis 2.0.1 will come from XOM and will result in | ||
// java.lang.ClassNotFoundException: org.w3c.dom.ElementTraversal | ||
//TODO: sort out this problem better | ||
force = true | ||
} | ||
|
||
compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.20' | ||
|
||
compile "com.cybozu.labs:langdetect:1.1-20120112" | ||
compile "com.rockymadden.stringmetric:stringmetric-core_2.10:0.27.3" | ||
compile "commons-pool:commons-pool:1.6" | ||
compile "commons-io:commons-io:2.5" | ||
compile "org.apache.commons:commons-lang3:3.6" | ||
compile "org.apache.commons:commons-collections4:4.1" | ||
compile "commons-dbutils:commons-dbutils:1.7" | ||
compile "org.apache.httpcomponents:httpclient:4.5.3" | ||
compile "xerces:xercesImpl:2.11.0" | ||
compile "com.google.guava:guava:19.0" | ||
compile "net.arnx:jsonic:1.3.10" | ||
compile "org.apache.pdfbox:pdfbox:1.8.9" | ||
compile "net.sourceforge.saxon:saxon:9.1.0.8" | ||
compile "xom:xom:1.2.5" | ||
compile "com.fasterxml.jackson.core:jackson-core:2.9.0" | ||
compile "com.fasterxml.jackson.core:jackson-databind:2.9.0" | ||
compile "com.fasterxml.jackson.module:jackson-module-afterburner:2.9.0" | ||
compile "joda-time:joda-time:2.9.9" | ||
compile "org.apache.lucene:lucene-analyzers-common:4.5.1" | ||
} | ||
} | ||
|
||
project("grobid-home") { | ||
//TODO: package it properly | ||
} | ||
|
||
project("grobid-service") { | ||
apply plugin: 'application' | ||
|
||
dependencies { | ||
compile(project(':grobid-core')) | ||
compile "io.dropwizard:dropwizard-core:1.0.2" | ||
compile "io.dropwizard:dropwizard-assets:1.0.2" | ||
compile "com.hubspot.dropwizard:dropwizard-guicier:1.0.0.6" | ||
compile "io.dropwizard:dropwizard-testing:1.0.2" | ||
compile "io.dropwizard:dropwizard-forms:1.0.2" | ||
compile "io.dropwizard:dropwizard-client:1.0.2" | ||
compile "io.dropwizard:dropwizard-auth:1.0.2" | ||
compile "org.apache.pdfbox:pdfbox:1.8.9" | ||
|
||
testCompile "io.dropwizard:dropwizard-testing:1.0.2" | ||
} | ||
|
||
} | ||
project("grobid-trainer") { | ||
dependencies { | ||
compile(project(':grobid-core')) | ||
compile "com.rockymadden.stringmetric:stringmetric-core_2.10:0.27.3" | ||
} | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#Thu, 21 Apr 2016 18:39:55 +0200 | ||
version=1.0.0-SNAPSHOT |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.