-
Notifications
You must be signed in to change notification settings - Fork 642
Commit f8d4d34
With reference to the spinnaker issue spinnaker/spinnaker#6866, google-api-services-storage dependency version (v1-rev20200326-1.30.9) is not forced by front50-gcs module to other front50 modules like front50-web and it is leaked by kork-secret-gcp module (v1-rev141-1.25.0) to front50 modules.
```
$ ./gradlew front50-web:dI --dependency google-api-services-storage --configuration runtimeClasspath
> Task :front50-web:dependencyInsight
com.google.apis:google-api-services-storage:v1-rev141-1.25.0
Variant runtime:
| Attribute Name | Provided | Requested |
|--------------------------------|--------------|--------------|
| org.gradle.status | release | |
| org.gradle.category | library | library |
| org.gradle.libraryelements | jar | jar |
| org.gradle.usage | java-runtime | java-runtime |
| org.gradle.dependency.bundling | | external |
| org.gradle.jvm.environment | | standard-jvm |
| org.gradle.jvm.version | | 11 |
Selection reasons:
- By constraint
- Forced
com.google.apis:google-api-services-storage:v1-rev141-1.25.0
+--- io.spinnaker.kork:kork-bom:7.188.0
| +--- runtimeClasspath
| +--- project :front50-migrations
| | \--- runtimeClasspath
| +--- project :front50-azure
| | \--- runtimeClasspath
| +--- project :front50-gcs
| | \--- runtimeClasspath
| +--- project :front50-oracle
| | \--- runtimeClasspath
| +--- project :front50-redis
| | \--- runtimeClasspath
| +--- project :front50-s3
| | \--- runtimeClasspath
| +--- project :front50-swift
| | \--- runtimeClasspath
| +--- project :front50-sql
| | \--- runtimeClasspath
| +--- project :front50-core
| | +--- runtimeClasspath
| | +--- project :front50-migrations (*)
| | +--- project :front50-azure (*)
| | +--- project :front50-gcs (*)
| | +--- project :front50-oracle (*)
| | +--- project :front50-redis (*)
| | +--- project :front50-s3 (*)
| | +--- project :front50-swift (*)
| | \--- project :front50-sql (*)
| +--- project :front50-api
| | +--- runtimeClasspath
| | +--- project :front50-migrations (*)
| | +--- project :front50-azure (*)
| | +--- project :front50-gcs (*)
| | +--- project :front50-oracle (*)
| | +--- project :front50-redis (*)
| | +--- project :front50-s3 (*)
| | +--- project :front50-swift (*)
| | +--- project :front50-sql (*)
| | \--- project :front50-core (*)
| +--- project :front50-sql-mysql
| | \--- project :front50-sql (*)
| \--- project :front50-sql-postgres
| \--- project :front50-sql (*)
\--- io.spinnaker.kork:kork-secrets-gcp:7.188.0
+--- io.spinnaker.kork:kork-bom:7.188.0 (*)
\--- io.spinnaker.kork:kork-runtime:7.188.0
+--- runtimeClasspath (requested io.spinnaker.kork:kork-runtime)
\--- io.spinnaker.kork:kork-bom:7.188.0 (*)
com.google.apis:google-api-services-storage:v1-rev20220401-1.32.1 -> v1-rev141-1.25.0
\--- com.google.cloud:google-cloud-storage:2.6.1
+--- project :front50-gcs (requested com.google.cloud:google-cloud-storage)
| \--- runtimeClasspath
\--- io.spinnaker.kork:kork-bom:7.188.0
+--- runtimeClasspath
+--- project :front50-migrations
| \--- runtimeClasspath
+--- project :front50-azure
| \--- runtimeClasspath
+--- project :front50-gcs (*)
+--- project :front50-oracle
| \--- runtimeClasspath
+--- project :front50-redis
| \--- runtimeClasspath
+--- project :front50-s3
| \--- runtimeClasspath
+--- project :front50-swift
| \--- runtimeClasspath
+--- project :front50-sql
| \--- runtimeClasspath
+--- project :front50-core
| +--- runtimeClasspath
| +--- project :front50-migrations (*)
| +--- project :front50-azure (*)
| +--- project :front50-gcs (*)
| +--- project :front50-oracle (*)
| +--- project :front50-redis (*)
| +--- project :front50-s3 (*)
| +--- project :front50-swift (*)
| \--- project :front50-sql (*)
+--- project :front50-api
| +--- runtimeClasspath
| +--- project :front50-migrations (*)
| +--- project :front50-azure (*)
| +--- project :front50-gcs (*)
| +--- project :front50-oracle (*)
| +--- project :front50-redis (*)
| +--- project :front50-s3 (*)
| +--- project :front50-swift (*)
| +--- project :front50-sql (*)
| \--- project :front50-core (*)
+--- project :front50-sql-mysql
| \--- project :front50-sql (*)
\--- project :front50-sql-postgres
\--- project :front50-sql (*)
com.google.apis:google-api-services-storage -> v1-rev141-1.25.0
\--- project :front50-gcs
\--- runtimeClasspath
```
To fix this force constraints have to be applied to build.gradle.
After the fix :
```
$ ./gradlew front50-web:dI --dependency google-api-services-storage --configuration runtimeClasspath
> Task :front50-web:dependencyInsight
com.google.apis:google-api-services-storage:v1-rev20200326-1.30.9
Variant runtime:
| Attribute Name | Provided | Requested |
|--------------------------------|--------------|--------------|
| org.gradle.status | release | |
| org.gradle.category | library | library |
| org.gradle.libraryelements | jar | jar |
| org.gradle.usage | java-runtime | java-runtime |
| org.gradle.dependency.bundling | | external |
| org.gradle.jvm.environment | | standard-jvm |
| org.gradle.jvm.version | | 11 |
Selection reasons:
- Forced
- By constraint
com.google.apis:google-api-services-storage:v1-rev20200326-1.30.9
\--- com.google.cloud:google-cloud-storage:1.108.0
+--- project :front50-gcs (requested com.google.cloud:google-cloud-storage)
| \--- runtimeClasspath
\--- io.spinnaker.kork:kork-bom:7.188.0 (requested com.google.cloud:google-cloud-storage:2.6.1)
+--- runtimeClasspath
+--- project :front50-migrations
| \--- runtimeClasspath
+--- project :front50-azure
| \--- runtimeClasspath
+--- project :front50-gcs (*)
+--- project :front50-oracle
| \--- runtimeClasspath
+--- project :front50-redis
| \--- runtimeClasspath
+--- project :front50-s3
| \--- runtimeClasspath
+--- project :front50-swift
| \--- runtimeClasspath
+--- project :front50-sql
| \--- runtimeClasspath
+--- project :front50-core
| +--- runtimeClasspath
| +--- project :front50-migrations (*)
| +--- project :front50-azure (*)
| +--- project :front50-gcs (*)
| +--- project :front50-oracle (*)
| +--- project :front50-redis (*)
| +--- project :front50-s3 (*)
| +--- project :front50-swift (*)
| \--- project :front50-sql (*)
+--- project :front50-api
| +--- runtimeClasspath
| +--- project :front50-migrations (*)
| +--- project :front50-azure (*)
| +--- project :front50-gcs (*)
| +--- project :front50-oracle (*)
| +--- project :front50-redis (*)
| +--- project :front50-s3 (*)
| +--- project :front50-swift (*)
| +--- project :front50-sql (*)
| \--- project :front50-core (*)
+--- project :front50-sql-mysql
| \--- project :front50-sql (*)
\--- project :front50-sql-postgres
\--- project :front50-sql (*)
com.google.apis:google-api-services-storage:v1-rev141-1.25.0 -> v1-rev20200326-1.30.9
+--- io.spinnaker.kork:kork-bom:7.188.0
| +--- runtimeClasspath
| +--- project :front50-migrations
| | \--- runtimeClasspath
| +--- project :front50-azure
| | \--- runtimeClasspath
| +--- project :front50-gcs
| | \--- runtimeClasspath
| +--- project :front50-oracle
| | \--- runtimeClasspath
| +--- project :front50-redis
| | \--- runtimeClasspath
| +--- project :front50-s3
| | \--- runtimeClasspath
| +--- project :front50-swift
| | \--- runtimeClasspath
| +--- project :front50-sql
| | \--- runtimeClasspath
| +--- project :front50-core
| | +--- runtimeClasspath
| | +--- project :front50-migrations (*)
| | +--- project :front50-azure (*)
| | +--- project :front50-gcs (*)
| | +--- project :front50-oracle (*)
| | +--- project :front50-redis (*)
| | +--- project :front50-s3 (*)
| | +--- project :front50-swift (*)
| | \--- project :front50-sql (*)
| +--- project :front50-api
| | +--- runtimeClasspath
| | +--- project :front50-migrations (*)
| | +--- project :front50-azure (*)
| | +--- project :front50-gcs (*)
| | +--- project :front50-oracle (*)
| | +--- project :front50-redis (*)
| | +--- project :front50-s3 (*)
| | +--- project :front50-swift (*)
| | +--- project :front50-sql (*)
| | \--- project :front50-core (*)
| +--- project :front50-sql-mysql
| | \--- project :front50-sql (*)
| \--- project :front50-sql-postgres
| \--- project :front50-sql (*)
\--- io.spinnaker.kork:kork-secrets-gcp:7.188.0
+--- io.spinnaker.kork:kork-bom:7.188.0 (*)
\--- io.spinnaker.kork:kork-runtime:7.188.0
+--- runtimeClasspath (requested io.spinnaker.kork:kork-runtime)
\--- io.spinnaker.kork:kork-bom:7.188.0 (*)
com.google.apis:google-api-services-storage -> v1-rev20200326-1.30.9
\--- project :front50-gcs
\--- runtimeClasspath
```
(cherry picked from commit fb5850c)
Co-authored-by: Sandesh <[email protected]>
1 parent 09d91c5 commit f8d4d34Copy full SHA for f8d4d34
File tree
Expand file treeCollapse file tree
2 files changed
+7
-7
lines changedFilter options
- front50-gcs
Expand file treeCollapse file tree
2 files changed
+7
-7
lines changed+7Lines changed: 7 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
74 | 74 |
| |
75 | 75 |
| |
76 | 76 |
| |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
77 | 84 |
| |
78 | 85 |
| |
79 | 86 |
| |
|
front50-gcs/front50-gcs.gradle
Copy file name to clipboardExpand all lines: front50-gcs/front50-gcs.gradle-7Lines changed: 0 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
42 | 42 |
| |
43 | 43 |
| |
44 | 44 |
| |
45 |
| - | |
46 |
| - | |
47 |
| - | |
48 |
| - | |
49 |
| - | |
50 |
| - | |
51 |
| - |
0 commit comments