1 Star 4 Fork 0

liuxinghong/spring-cloud微服务框架 项目架构

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
build.gradle 1.59 KB
一键复制 编辑 原始数据 按行查看 历史
liuxinghong 提交于 2019-03-05 17:03 . 初次提交
group = 'com.liu'
version '1.0.0'
apply plugin: 'java'
sourceCompatibility = 1.8
buildscript {
ext {
springBootVersion = '1.5.10.RELEASE'
}
repositories {
maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
mavenCentral()
maven { url "https://repo.spring.io/snapshot" }
maven { url "https://repo.spring.io/milestone" }
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}
subprojects {
group 'com.liu'
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
version = '1.0.0'
repositories {
maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
mavenCentral()
maven { url "https://repo.spring.io/snapshot" }
maven { url "https://repo.spring.io/milestone" }
}
ext {
springCloudVersion = 'Edgware.SR1'
}
configurations {
compile.exclude module: "spring-boot-starter-tomcat"
}
dependencies {
compile group: 'commons-io', name: 'commons-io', version: '2.6'
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.7'
runtime('mysql:mysql-connector-java')
testCompile('org.springframework.boot:spring-boot-starter-test')
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
}
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/liuxinghong/spring-cloud-project.git
git@gitee.com:liuxinghong/spring-cloud-project.git
liuxinghong
spring-cloud-project
spring-cloud微服务框架 项目架构
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385