Skip to content

Commit

Permalink
Replace deprecated compile & testCompile with implementation & testIm…
Browse files Browse the repository at this point in the history
…plementation in README (#454)
  • Loading branch information
arnoob16 authored Dec 14, 2020
1 parent bf6301a commit eb77a21
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ Example:
dependencies {
// You need to depend on the lite runtime library, not protobuf-java
compile 'com.google.protobuf:protobuf-lite:3.0.0'
implementation 'com.google.protobuf:protobuf-lite:3.0.0'
}
protobuf {
Expand Down Expand Up @@ -385,7 +385,7 @@ protoc's "java" output. Example:
```gradle
dependencies {
// You need to depend on the lite runtime library, not protobuf-java
compile 'com.google.protobuf:protobuf-javalite:3.8.0'
implementation 'com.google.protobuf:protobuf-javalite:3.8.0'
}
protobuf {
Expand Down Expand Up @@ -475,8 +475,8 @@ they have already been compiled in their own projects. Example:

```gradle
dependencies {
compile project(':someProjectWithProtos')
testCompile files("lib/some-testlib-with-protos.jar")
implementation project(':someProjectWithProtos')
testImplementation files("lib/some-testlib-with-protos.jar")
}
```

Expand Down

0 comments on commit eb77a21

Please sign in to comment.