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

Commit 1e11758

Browse files
feat: Remove use of deprecated gradle command in java README (#1196) (#588)
1 parent 810833d commit 1e11758

File tree

3 files changed

+3
-16
lines changed

3 files changed

+3
-16
lines changed

.github/.OwlBot.lock.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
docker:
22
image: gcr.io/repo-automation-bots/owlbot-java:latest
3-
digest: sha256:677e79291a12251a7c7e9c24db87f50ae0428bbb79c2bebc50e4fc5e9ed1ee32
3+
digest: sha256:8a486672c9a4ae5e7d55b9ac252ce1741582b8c2ceeda40efa32376325809928

.github/workflows/ci.yaml

-13
Original file line numberDiff line numberDiff line change
@@ -42,19 +42,6 @@ jobs:
4242
java-version: ${{matrix.java}}
4343
- run: java -version
4444
- run: .kokoro/dependencies.sh
45-
linkage-monitor:
46-
runs-on: ubuntu-latest
47-
steps:
48-
- uses: actions/checkout@v2
49-
- uses: actions/setup-java@v1
50-
with:
51-
java-version: 8
52-
- run: java -version
53-
- name: Install artifacts to local Maven repository
54-
run: .kokoro/build.sh
55-
shell: bash
56-
- name: Validate any conflicts with regard to com.google.cloud:libraries-bom (latest release)
57-
uses: GoogleCloudPlatform/cloud-opensource-java/linkage-monitor@v1-linkagemonitor
5845
lint:
5946
runs-on: ubuntu-latest
6047
steps:

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,12 @@ If you are using Gradle 5.x or later, add this to your dependencies
5454
```Groovy
5555
implementation platform('com.google.cloud:libraries-bom:22.0.0')
5656
57-
compile 'com.google.cloud:google-cloud-datalabeling'
57+
implementation 'com.google.cloud:google-cloud-datalabeling'
5858
```
5959
If you are using Gradle without BOM, add this to your dependencies
6060

6161
```Groovy
62-
compile 'com.google.cloud:google-cloud-datalabeling:0.121.2'
62+
implementation 'com.google.cloud:google-cloud-datalabeling:0.121.2'
6363
```
6464

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

0 commit comments

Comments
 (0)