代码拉取完成,页面将自动刷新
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'
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。