6 Star 13 Fork 8

Gitee 极速下载 / CoreNLP

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/stanfordnlp/CoreNLP
克隆/下载
build.gradle 1.28 KB
一键复制 编辑 原始数据 按行查看 历史
//
// Stanford CoreNLP build specification for
// Gradle.
//
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'application'
// Gradle java plugin
sourceCompatibility = 1.8
targetCompatibility = 1.8
compileJava.options.encoding = 'UTF-8'
version = '4.5.8'
// Gradle application plugin
mainClassName = "edu.stanford.nlp.pipeline.StanfordCoreNLP"
// Jar creation
jar {
manifest {
attributes 'Implementation-Title': 'Stanford CoreNLP',
'Implementation-Version': version,
'Main-Class': 'edu.stanford.nlp.pipeline.StanfordCoreNLP'
}
}
uploadArchives {
repositories {
flatDir {
dirs 'repos'
}
}
}
// Add src-extra build target
sourceSets {
main {
java.srcDirs = ['src/']
resources.srcDirs = ['src/']
}
}
task listDeps {
doLast {
configurations.compile.each { File file -> println file.name }
}
}
dependencies {
compile fileTree(dir: 'lib', include: '*.jar')
testCompile fileTree(dir: 'liblocal', include: '*.jar')
}
// Eclipse plugin setup
eclipse {
classpath {
defaultOutputDir = file('bin/')
file {
beforeMerged { classpath ->
classpath.entries.removeAll { entry -> entry.kind == 'lib' }
}
}
}
}
task wrapper(type: Wrapper) {
gradleVersion = '3.2'
}
Java
1
https://gitee.com/mirrors/CoreNLP.git
git@gitee.com:mirrors/CoreNLP.git
mirrors
CoreNLP
CoreNLP
main

搜索帮助