Skip to content
Permalink
Browse files
feat: Remove use of deprecated gradle command in java README (#1196) (#…
…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 8791708b6b01e26108822b1c78be824e9a73af1e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 16 deletions.
@@ -1,3 +1,3 @@
docker:
image: gcr.io/repo-automation-bots/owlbot-java:latest
digest: sha256:677e79291a12251a7c7e9c24db87f50ae0428bbb79c2bebc50e4fc5e9ed1ee32
digest: sha256:8a486672c9a4ae5e7d55b9ac252ce1741582b8c2ceeda40efa32376325809928
@@ -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:
@@ -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

0 comments on commit 8791708

Please sign in to comment.