Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nice-gradle-config
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nice.base
nice-gradle-config
Commits
e7896be9
Commit
e7896be9
authored
Jul 18, 2020
by
窦家骏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
spring cloud基础配置
parent
8cb2aa1e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
59 additions
and
0 deletions
+59
-0
spring-cloud-base.gradle
spring-cloud-base.gradle
+59
-0
No files found.
spring-cloud-base.gradle
0 → 100644
View file @
e7896be9
buildscript
{
ext
{
springBootVersion
=
'2.3.1.RELEASE'
}
repositories
{
maven
{
url
"https://maven.aliyun.com/repository/central"
}
maven
{
url
"https://plugins.gradle.org/m2/"
}
mavenCentral
()
}
dependencies
{
classpath
"org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}"
}
}
plugins
{
id
'org.springframework.boot'
version
'2.3.1.RELEASE'
id
'io.spring.dependency-management'
version
'1.0.9.RELEASE'
id
'java'
}
configurations
{
developmentOnly
runtimeClasspath
{
extendsFrom
developmentOnly
}
compileOnly
{
extendsFrom
annotationProcessor
}
}
repositories
{
mavenLocal
()
maven
{
url
"https://maven.aliyun.com/repository/central"
}
maven
{
url
"https://repo.spring.io/milestone"
}
mavenCentral
()
}
ext
{
set
(
'springCloudVersion'
,
"Hoxton.SR6"
)
}
dependencies
{
implementation
'org.springframework.cloud:spring-cloud-starter-consul-discovery'
implementation
'org.springframework.cloud:spring-cloud-starter-netflix-hystrix'
implementation
'org.springframework.cloud:spring-cloud-starter-netflix-ribbon'
implementation
'org.springframework.cloud:spring-cloud-starter-openfeign'
implementation
'io.github.openfeign:feign-okhttp'
implementation
'org.springframework.retry:spring-retry'
implementation
'org.springframework.cloud:spring-cloud-starter-sleuth'
runtimeOnly
'org.springframework.boot:spring-boot-starter-actuator'
implementation
'org.springframework.boot:spring-boot-starter-actuator'
testImplementation
'org.springframework.boot:spring-boot-starter-test'
testImplementation
'org.springframework.security:spring-security-test'
}
dependencyManagement
{
imports
{
mavenBom
"org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment