代码拉取完成,页面将自动刷新
同步操作将从 zhangmgui/分布式电商 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
buildscript {
ext {
springBootVersion = '1.4.4.RELEASE'
}
repositories {
mavenCentral()
jcenter()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
// classpath 'org.springframework:springloaded:1.2.6.RELEASE' // Modern IDEs (Eclipse, IDEA, etc.) all support hot swapping of bytecode, so if you make a change that doesn’t affect class or method signatures it should reload cleanly with no side effects. Spring Loaded goes a little further in that it can reload class definitions with changes in the method signatures. With some customization it can force an ApplicationContext to refresh itself (but there is no general mechanism to ensure that would be safe for a running application anyway, so it would only ever be a development time trick probably).
}
}
allprojects {
apply plugin: 'idea'
apply plugin: 'eclipse'
group = 'com.timeyang.onlinestore'
version = '1.0.0'
}
subprojects {
apply plugin: 'java'
apply plugin: 'org.springframework.boot'
sourceCompatibility = 1.8 // 必须在apply java插件之后
targetCompatibility = 1.8
repositories {
maven { url 'http://mvnrepo.tae.taobao.com/content/groups/public/' }
mavenCentral()
}
dependencyManagement {
imports {
mavenBom 'org.springframework.cloud:spring-cloud-dependencies:Camden.SR5'
}
}
dependencies {
testCompile 'org.springframework.boot:spring-boot-starter-test'
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile("org.springframework.boot:spring-boot-devtools")
compile "org.springframework.cloud:spring-cloud-starter-eureka"
compile "org.springframework.boot:spring-boot-starter-actuator"
}
bootRun {
addResources = true
}
idea {
module {
downloadSources = true
downloadJavadoc = false
inheritOutputDirs = false
outputDir = file("$buildDir/classes/main/") // By default, IntelliJ IDEA will compile classes into a different location than Gradle, causing Spring Loaded monitoring to fail. 注意,我们这里并没有使用 Spring Loaded
}
}
springBoot {
executable = true
}
}
idea {
project {
jdkName = '1.8'
languageLevel = '1.8'
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。