Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

Commit

Permalink
feat: Remove use of deprecated gradle command in java README (#1196) (#…
Browse files Browse the repository at this point in the history
…589)

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
Source-Link: googleapis/synthtool@e770c12
Post-Processor: gcr.io/repo-automation-bots/owlbot-java:latest@sha256:8a486672c9a4ae5e7d55b9ac252ce1741582b8c2ceeda40efa32376325809928

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] committed Aug 27, 2021
1 parent a7ead5e commit 8791708
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/.OwlBot.lock.yaml
@@ -1,3 +1,3 @@
docker:
image: gcr.io/repo-automation-bots/owlbot-java:latest
digest: sha256:677e79291a12251a7c7e9c24db87f50ae0428bbb79c2bebc50e4fc5e9ed1ee32
digest: sha256:8a486672c9a4ae5e7d55b9ac252ce1741582b8c2ceeda40efa32376325809928
13 changes: 0 additions & 13 deletions .github/workflows/ci.yaml
Expand Up @@ -42,19 +42,6 @@ jobs:
java-version: ${{matrix.java}}
- run: java -version
- run: .kokoro/dependencies.sh
linkage-monitor:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: 8
- run: java -version
- name: Install artifacts to local Maven repository
run: .kokoro/build.sh
shell: bash
- name: Validate any conflicts with regard to com.google.cloud:libraries-bom (latest release)
uses: GoogleCloudPlatform/cloud-opensource-java/linkage-monitor@v1-linkagemonitor
lint:
runs-on: ubuntu-latest
steps:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -51,12 +51,12 @@ If you are using Gradle 5.x or later, add this to your dependencies
```Groovy
implementation platform('com.google.cloud:libraries-bom:22.0.0')
compile 'com.google.cloud:google-cloud-build'
implementation 'com.google.cloud:google-cloud-build'
```
If you are using Gradle without BOM, add this to your dependencies

```Groovy
compile 'com.google.cloud:google-cloud-build:3.1.0'
implementation 'com.google.cloud:google-cloud-build:3.1.0'
```

If you are using SBT, add this to your dependencies
Expand Down

0 comments on commit 8791708

Please sign in to comment.