Skip to content

Commit bf1ed82

Browse files
authored
Fix README.adoc
1 parent d257633 commit bf1ed82

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.adoc

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,18 +37,18 @@ repositories {
3737
// maven { url "https://oss.sonatype.org/content/repositories/snapshots" } // for snapshot builds
3838
}
3939
dependencies {
40-
compile 'io.github.lognet:grpc-spring-boot-starter:5.1.4'
40+
implementation 'io.github.lognet:grpc-spring-boot-starter:5.1.4'
4141
}
4242
----
4343

4444
By default, starter pulls `io.grpc:grpc-netty-shaded` as transitive dependency, if you are forced to use pure `grpc-netty` dependency:
4545

4646
[source,groovy]
4747
----
48-
compile ('io.github.lognet:grpc-spring-boot-starter:5.1.4') {
48+
implementation ('io.github.lognet:grpc-spring-boot-starter:5.1.4') {
4949
exclude group: 'io.grpc', module: 'grpc-netty-shaded'
5050
}
51-
compile 'io.grpc:grpc-netty:1.57.0' // <1>
51+
implementation 'io.grpc:grpc-netty:1.57.0' // <1>
5252
----
5353
<1> Make sure to pull the version that matches the release.
5454

@@ -1071,7 +1071,7 @@ grpc:
10711071
== Eureka Integration
10721072

10731073
When building production-ready services, the advise is to have separate project for your service(s) gRPC API that holds only proto-generated classes both for server and client side usage. +
1074-
You will then add this project as `compile` dependency to your `gRPC client` and `gRPC server` projects.
1074+
You will then add this project as `implementation` dependency to your `gRPC client` and `gRPC server` projects.
10751075

10761076
To integrate `Eureka` simply follow the great https://spring.io/guides/gs/service-registration-and-discovery/[guide] from Spring.
10771077

@@ -1085,8 +1085,8 @@ Below are the essential parts of configurations for both server and client proje
10851085
.build.gradle
10861086
----
10871087
dependencies {
1088-
compile('org.springframework.cloud:spring-cloud-starter-eureka')
1089-
compile project(":yourProject-api")
1088+
implementation('org.springframework.cloud:spring-cloud-starter-eureka')
1089+
implementation project(":yourProject-api")
10901090
}
10911091
----
10921092

@@ -1149,8 +1149,8 @@ eureka:
11491149
.build.gradle
11501150
----
11511151
dependencies {
1152-
compile('org.springframework.cloud:spring-cloud-starter-eureka')
1153-
compile project(":yourProject-api")
1152+
implementation('org.springframework.cloud:spring-cloud-starter-eureka')
1153+
implementation project(":yourProject-api")
11541154
}
11551155
----
11561156

0 commit comments

Comments
 (0)