代码拉取完成,页面将自动刷新
同步操作将从 静远/admin-manage 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
//sourceCompatibility = 1.8
//targetCompatibility = 1.8
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'eclipse'
apply plugin: 'org.springframework.boot'
buildscript {
def springbootVersion = '1.4.3.RELEASE'
repositories {
jcenter()
maven { url "http://repo.spring.io/snapshot" }
maven { url "http://repo.spring.io/milestone" }
}
dependencies {
//加入这个可以达到统一管理springboot的版本的功能,类似maven中的dependence management
//The spring-boot-gradle-plugin is also available and provides tasks to create executable jars and run projects from source. It also provides dependency management that, among other capabilities, allows you to omit the version number for any dependencies that are managed by Spring Boot:
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springbootVersion}")
}
}
repositories {
jcenter()
maven { url "http://repo.spring.io/snapshot" }
maven { url "http://repo.spring.io/milestone" }
}
dependencies {
testCompile("org.springframework.boot:spring-boot-starter-test")
compile 'org.aspectj:aspectjrt:1.7.3'
compile 'org.aspectj:aspectjweaver:1.7.3'
compile 'mysql:mysql-connector-java:5.1.28'
compile("org.springframework.boot:spring-boot-starter-jdbc")
compile("org.springframework.boot:spring-boot-starter-web")
compile("org.springframework.boot:spring-boot-starter-thymeleaf")
compile("org.springframework.boot:spring-boot-starter-cache")
compile 'org.springframework.boot:spring-boot-starter-security'
compile("de.codecentric:spring-boot-admin-server:1.4.3")
compile("de.codecentric:spring-boot-admin-server-ui:1.4.3")
compile("org.springframework.boot:spring-boot-devtools")
compile 'org.springframework.session:spring-session:1.2.2.RELEASE'
compile 'com.hazelcast:hazelcast:3.7.2'
compile 'com.google.zxing:core:3.2.0'
compile 'com.google.zxing:javase:3.2.0'
compile 'com.alibaba:druid:1.0.25'
compile 'com.alibaba:fastjson:1.2.17'
compile 'org.apache.commons:commons-lang3:3.4'
compile 'commons-codec:commons-codec:1.10'
compile group: 'commons-beanutils', name: 'commons-beanutils', version: '1.9.3'
compile 'com.google.guava:guava:19.0'
compile 'com.qiniu:qiniu-java-sdk:7.2.+'
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.0.3'
compile files('src/main/lib/bumishi-toolbox-1.0.jar')
}
springBoot {
mainClass = "org.bumishi.admin.Application"
}
bootRun {
addResources = true
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。