Ai
11 Star 34 Fork 16

NLPChina/Jcoder

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
build.gradle 2.49 KB
一键复制 编辑 原始数据 按行查看 历史
孙健 提交于 2017-11-14 11:02 +08:00 . add use define token key
group 'nlpcn.org'
version '3.1.7'
apply plugin: 'java'
apply plugin: 'war'
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
maven {
url "http://maven.aliyun.com/nexus/content/groups/public/"
}
mavenCentral()
}
dependencies {
compile 'org.nutz:nutz:1.r.58'
compile 'org.nlpcn:nlp-lang:1.7.3'
compile 'com.alibaba:fastjson:1.2.28'
compile 'com.h2database:h2:1.3.176'
compile 'com.alibaba:druid:1.0.15'
compile 'org.quartz-scheduler:quartz:2.2.1'
compile 'javax.mail:mail:1.4.1'
compile 'com.google.guava:guava:18.0'
compile 'com.github.javaparser:javaparser-core:2.4.0'
compile 'com.github.axet:kaptcha:0.0.9'
compile 'org.jasypt:jasypt:1.9.2'
//new version use log
compile 'org.slf4j:slf4j-api:1.7.21'
compile 'org.apache.logging.log4j:log4j-slf4j-impl:2.6.2'
compile 'org.apache.logging.log4j:log4j-jcl:2.6.2'
compile 'org.apache.logging.log4j:log4j-api:2.6.2'
compile 'org.apache.logging.log4j:log4j-core:2.6.2'
compile 'org.apache.logging.log4j:log4j-web:2.6.2'
//javaee support
compile 'javax.servlet:javax.servlet-api:3.1.0'
compile 'javax.servlet:jstl:1.2'
compile 'javax.inject:javax.inject:1'
compile 'javax:javaee-api:7.0'
compile 'io.netty:netty-all:4.1.2.Final'
compile 'org.eclipse.jetty:jetty-servlet:9.2.2.v20140723'
// web server
providedCompile 'org.eclipse.jetty:jetty-webapp:9.2.2.v20140723'
providedCompile 'org.eclipse.jetty:jetty-jsp:9.2.2.v20140723'
providedCompile 'org.eclipse.jetty:jetty-continuation:9.2.2.v20140723'
providedCompile 'org.eclipse.jetty.websocket:websocket-server:9.2.2.v20140723'
providedCompile 'org.eclipse.jetty.websocket:javax-websocket-server-impl:9.2.2.v20140723'
testCompile 'junit:junit:4.12'
war{
def configFile = file('src/main/resources/jcoder.properties') ;
configFile.write("version="+version+"_"+new Date().format('yyyyMMddHHmm'));
def schemaJarFile = project.configurations.providedCompile
schemaJarFile.each{source ->
from zipTree(source)
exclude("**/*.SF")
}
from('build/classes/main/Bootstrap.class')
manifest {
attributes 'Implementation-Title': 'Jcoder Webserver', 'Implementation-Version': version, 'Main-Class':'Bootstrap'
}
classpath = classpath - sourceSets.main.output
from (jar) {
into 'WEB-INF/lib'
}
}
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/NLPChina/Jcoder.git
git@gitee.com:NLPChina/Jcoder.git
NLPChina
Jcoder
Jcoder
master

搜索帮助