Skip to content
Permalink
Browse files
feat: Remove use of deprecated gradle command in java README (#1196) (#…
  • Loading branch information
gcf-owl-bot[bot] committed Aug 30, 2021
1 parent 810833d commit 1e117581d2b8773eb0e91db632a9ba9e5220b82e
Showing with 3 additions and 16 deletions.
  1. +1 −1 .github/.OwlBot.lock.yaml
  2. +0 −13 .github/workflows/ci.yaml
  3. +2 −2 README.md
@@ -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:
@@ -54,12 +54,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-datalabeling'
implementation 'com.google.cloud:google-cloud-datalabeling'
```
If you are using Gradle without BOM, add this to your dependencies

```Groovy
compile 'com.google.cloud:google-cloud-datalabeling:0.121.2'
implementation 'com.google.cloud:google-cloud-datalabeling:0.121.2'
```

If you are using SBT, add this to your dependencies

0 comments on commit 1e11758

Please sign in to comment.