Skip to content

Commit e770c12

Browse files
feat: Remove use of deprecated gradle command in java README (#1196)
Per internal bug 197475869, the "compile" command in gradle has been deprecated in favor of "implementation" for many years, and is actually removed in the latest versions of gradle
1 parent 31728d8 commit e770c12

File tree

1 file changed

+2
-2
lines changed
  • synthtool/gcp/templates/java_library

1 file changed

+2
-2
lines changed

synthtool/gcp/templates/java_library/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,14 @@ If you are using Gradle 5.x or later, add this to your dependencies
5050
```Groovy
5151
implementation platform('com.google.cloud:libraries-bom:{{metadata['latest_bom_version']}}')
5252
53-
compile '{{ group_id }}:{{ artifact_id }}'
53+
implementation '{{ group_id }}:{{ artifact_id }}'
5454
```
5555
{% endif -%}
5656

5757
If you are using Gradle without BOM, add this to your dependencies
5858

5959
```Groovy
60-
compile '{{ group_id }}:{{ artifact_id }}:{{ metadata['latest_version'] }}'
60+
implementation '{{ group_id }}:{{ artifact_id }}:{{ metadata['latest_version'] }}'
6161
```
6262

6363
If you are using SBT, add this to your dependencies

0 commit comments

Comments
 (0)