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