Last active
November 11, 2023 16:10
-
-
Save jei0486/7539a72d7aecf97e2d7db3988a41c4b8 to your computer and use it in GitHub Desktop.
Spring Cloud OpenFeign 의존성
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ext { | |
set('springCloudVersion', "2021.0.7") | |
} | |
dependencyManagement { | |
imports { | |
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}" | |
} | |
} | |
dependencies { | |
implementation 'org.springframework.cloud:spring-cloud-starter-openfeign' | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- 1. properties | |
spring-cloud.version 은 spring boot 버전에 따라 달라진다. | |
--> | |
<properties> | |
<spring-cloud.version>2021.0.7</spring-cloud.version> | |
</properties> | |
<!-- 2. dependencyManagement--> | |
<dependencyManagement> | |
<dependencies> | |
<dependency> | |
<groupId>org.springframework.cloud</groupId> | |
<artifactId>spring-cloud-dependencies</artifactId> | |
<version>${spring-cloud.version}</version> | |
<type>pom</type> | |
<scope>import</scope> | |
</dependency> | |
</dependencies> | |
</dependencyManagement> | |
<!-- 3. dependencies--> | |
<dependencies> | |
<dependency> | |
<groupId>org.springframework.cloud</groupId> | |
<artifactId>spring-cloud-starter-openfeign</artifactId> | |
</dependency> | |
</dependencies> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment