1 Star 0 Fork 18

hbyufan/jshoperxms-mosasaur

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
build.gradle 4.39 KB
一键复制 编辑 原始数据 按行查看 历史
翼海同行 提交于 2017-03-09 22:45 . 系统设置
group 'com.jshoperxms'
version '1.0-SNAPSHOT'
buildscript {
ext{
springBootVersion='1.3.3.RELEASE'
}
repositories {
//maven { url "http://114.55.175.14:8081/nexus/content/groups/public/" }
maven { url "https://repo.spring.io/libs-release" }
mavenLocal()
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}
apply plugin: 'java'
apply plugin: 'war'
apply plugin:'idea'
apply plugin: 'spring-boot'
sourceCompatibility = 1.8
bootRun {
addResources = true
}
repositories {
mavenLocal()
mavenCentral()
//maven { url "http://114.55.175.14:8081/nexus/content/groups/public/" }
maven { url "https://repo.spring.io/libs-release" }
}
dependencyManagement{
imports{
mavenBom 'org.springframework.cloud:spring-cloud-dependencies:Angel.SR6'
}
}
dependencies {
// providedCompile 'javax.servlet:servlet-api:2.5'
compile(
"org.springframework.cloud:spring-cloud-starter-config",
"org.springframework.cloud:spring-cloud-starter-eureka",
"org.springframework.boot:spring-boot-starter-web",
"org.springframework.boot:spring-boot-starter-data-jpa",
"org.springframework.boot:spring-boot-starter-redis",
'org.springframework.boot:spring-boot-starter-data-elasticsearch',
// 'org.springframework.boot:spring-boot-starter-security',
'org.springframework.session:spring-session:1.2.0.RELEASE',
'org.springframework.data:spring-data-redis:1.7.4.RELEASE',
'org.springframework.data:spring-data-mongodb:1.7.1.RELEASE',
'org.springframework.data:spring-data-elasticsearch:2.0.0.RELEASE',
//shiro
// https://mvnrepository.com/artifact/org.apache.shiro/shiro-core
'org.apache.shiro:shiro-core:1.3.2',
// https://mvnrepository.com/artifact/org.apache.shiro/shiro-web
'org.apache.shiro:shiro-web:1.3.2',
// https://mvnrepository.com/artifact/org.apache.shiro/shiro-spring
'org.apache.shiro:shiro-spring:1.3.2',
// https://mvnrepository.com/artifact/org.apache.shiro/shiro-ehcache
'org.apache.shiro:shiro-ehcache:1.3.2',
// https://mvnrepository.com/artifact/net.sf.ehcache/ehcache-core
'net.sf.ehcache:ehcache-core:2.6.11',
// https://mvnrepository.com/artifact/org.springframework.security/spring-security-config
// 'org.springframework.security:spring-security-config:4.1.3.RELEASE',
// https://mvnrepository.com/artifact/org.springframework.security/spring-security-web
//'org.springframework.security:spring-security-web:4.1.3.RELEASE',
'org.hibernate:hibernate-core:4.3.8.Final',
'org.hibernate:hibernate-c3p0:4.3.8.Final',
'org.hibernate:hibernate-entitymanager:4.3.8.Final',
'org.hibernate:hibernate-validator:5.0.3.Final',
'mysql:mysql-connector-java:5.1.36',
'org.apache.commons:commons-lang3:3.4',
'com.google.code.gson:gson:2.3.1',
'com.googlecode.json-simple:json-simple:1.1.1',
'redis.clients:jedis:2.9.0',
'com.qiniu:qiniu-java-sdk:7.1.3',
'org.mongodb:mongo-java-driver:3.0.3',
// https://mvnrepository.com/artifact/org.json/json
'org.json:json:20160810',
// https://mvnrepository.com/artifact/commons-codec/commons-codec
'commons-codec:commons-codec:1.10',
// https://mvnrepository.com/artifact/commons-io/commons-io
'commons-io:commons-io:2.4',
// https://mvnrepository.com/artifact/commons-fileupload/commons-fileupload
'commons-fileupload:commons-fileupload:1.3.1',
// https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient
'org.apache.httpcomponents:httpclient:4.5.2'
)
// 依赖mave中不存在的jar
ext.jarTree = fileTree(dir: 'libs', include: '**/*.jar')
ext.rootProjectLibs = new File(rootProject.rootDir, 'libs').getAbsolutePath()
ext.jarTree += fileTree(dir: rootProjectLibs, include: '**/*.jar')
compile jarTree
compileJava.options*.encoding = 'UTF-8'
testCompile group: 'junit', name: 'junit', version: '4.11'
configurations.all {
exclude module: 'slf4j-log4j12'
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/hbyufan/jshoperxms-mosasaur.git
[email protected]:hbyufan/jshoperxms-mosasaur.git
hbyufan
jshoperxms-mosasaur
jshoperxms-mosasaur
master

搜索帮助