1 Star 0 Fork 19

WuuZhan / Spring-boot-shiro-spring-session-redis-example

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
build.gradle 2.18 KB
一键复制 编辑 原始数据 按行查看 历史
Jdonee 提交于 2017-05-23 10:35 . 1、升级依赖。
buildscript {
ext {
springBootVersion = '1.5.3.RELEASE'
}
repositories {
mavenLocal()
mavenCentral()
maven {
url "http://www.riversdm.com:9090/nexus/content/groups/public/"
}
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'org.springframework.boot'
//编译时指定编码
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
jar {
baseName = 'sbs-shiro-redis'
version = '0.0.1-SNAPSHOT'
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
maven {
url "http://www.riversdm.com:9090/nexus/content/groups/public/"
}
}
//测试时指定编码
test {
systemProperty "file.encoding", "UTF-8"
}
dependencies {
compile('org.springframework.boot:spring-boot-starter-aop')
compile('org.mybatis.spring.boot:mybatis-spring-boot-starter:1.2.0')
compile('org.springframework.boot:spring-boot-starter-data-redis')
compile('org.springframework.session:spring-session')
compile('org.springframework.boot:spring-boot-configuration-processor')
compile('org.projectlombok:lombok:1.16.16')
compile('com.google.guava:guava:21.0')
compile('org.apache.commons:commons-lang3:3.4')
compile('org.apache.shiro:shiro-spring:1.3.2')
compile('org.apache.shiro:shiro-aspectj:1.3.2')
compile('org.apache.shiro:shiro-quartz:1.3.2')
compile('mysql:mysql-connector-java')
compile('com.alibaba:druid:1.0.28')
compile('org.springframework.boot:spring-boot-starter-web')
compile('org.thymeleaf:thymeleaf:3.0.2.RELEASE')
compile('org.thymeleaf:thymeleaf-spring4:3.0.2.RELEASE')
compile('nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect:2.2.1')
compile('org.springframework.boot:spring-boot-starter-thymeleaf')
compile('org.springframework.boot:spring-boot-starter-tomcat')
compile('com.github.theborakompanioni:thymeleaf-extras-shiro:2.0.0')
testCompile('org.springframework.boot:spring-boot-starter-test')
}
eclipse {
classpath {
containers.remove('org.eclipse.jdt.launching.JRE_CONTAINER')
containers 'org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8'
}
}
Java
1
https://gitee.com/wuuzhan/Spring-boot-shiro-spring-session-redis-example.git
git@gitee.com:wuuzhan/Spring-boot-shiro-spring-session-redis-example.git
wuuzhan
Spring-boot-shiro-spring-session-redis-example
Spring-boot-shiro-spring-session-redis-example
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891