Skip to content

Commit 2a1179c

Browse files
authored
fix: 3 dependencies as runtime scope (#715)
Fixing googleapis/java-os-login@f5589df
1 parent 187ed40 commit 2a1179c

2 files changed

Lines changed: 17 additions & 17 deletions

File tree

java-os-login/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-os-login'
5656
If you are using Gradle without BOM, add this to your dependencies:
5757

5858
```Groovy
59-
implementation 'com.google.cloud:google-cloud-os-login:2.2.0'
59+
implementation 'com.google.cloud:google-cloud-os-login:2.2.2'
6060
```
6161

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

6464
```Scala
65-
libraryDependencies += "com.google.cloud" % "google-cloud-os-login" % "2.2.0"
65+
libraryDependencies += "com.google.cloud" % "google-cloud-os-login" % "2.2.2"
6666
```
6767

6868
## Authentication

java-os-login/google-cloud-os-login/pom.xml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -66,32 +66,32 @@
6666
<groupId>org.threeten</groupId>
6767
<artifactId>threetenbp</artifactId>
6868
</dependency>
69-
70-
<!-- Test dependencies -->
71-
<dependency>
72-
<groupId>junit</groupId>
73-
<artifactId>junit</artifactId>
74-
<scope>test</scope>
75-
</dependency>
76-
77-
<dependency>
78-
<groupId>com.google.api.grpc</groupId>
79-
<artifactId>grpc-google-cloud-os-login-v1</artifactId>
80-
<scope>test</scope>
81-
</dependency>
8269
<dependency>
8370
<groupId>com.google.cloud</groupId>
8471
<artifactId>google-cloud-core</artifactId>
85-
<scope>test</scope>
72+
<scope>runtime</scope>
8673
</dependency>
8774
<dependency>
8875
<groupId>com.google.code.gson</groupId>
8976
<artifactId>gson</artifactId>
90-
<scope>test</scope>
77+
<scope>runtime</scope>
9178
</dependency>
9279
<dependency>
9380
<groupId>com.google.auth</groupId>
9481
<artifactId>google-auth-library-oauth2-http</artifactId>
82+
<scope>runtime</scope>
83+
</dependency>
84+
85+
<!-- Test dependencies -->
86+
<dependency>
87+
<groupId>junit</groupId>
88+
<artifactId>junit</artifactId>
89+
<scope>test</scope>
90+
</dependency>
91+
92+
<dependency>
93+
<groupId>com.google.api.grpc</groupId>
94+
<artifactId>grpc-google-cloud-os-login-v1</artifactId>
9595
<scope>test</scope>
9696
</dependency>
9797
<!-- Need testing utility classes for generated gRPC clients tests -->

0 commit comments

Comments
 (0)