This repository was archived by the owner on Sep 26, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8383 - run : java -version
8484 - name : Build and install local Maven repository
8585 run : ./gradlew build publishToMavenLocal -x test -x signMavenJavaPublication
86+ - name : Generate artifact list (linkage-monitor-artifacts.txt) for Linkage Monitor
87+ run : ./gradlew createLinkageMonitorArtifactList
8688 - name : Check dependency conflicts with the latest Libraries BOM
8789 uses : GoogleCloudPlatform/cloud-opensource-java/linkage-monitor@v1-linkagemonitor
8890 - name : Check dependency conflicts in the gax artifacts
Original file line number Diff line number Diff line change @@ -492,3 +492,18 @@ task finalizeRelease {
492492 }
493493 }
494494}
495+
496+ // Linkage Monitor searches for pom.xml but gax-java uses Gradle. Alternatively Linkage Monitor
497+ // reads linkage-monitor-artifacts.txt to get list of artifacts.
498+ // https://github.com/GoogleCloudPlatform/cloud-opensource-java/wiki/Linkage-Monitor#linkage-monitor-artifactstxt
499+ task createLinkageMonitorArtifactList {
500+ doLast {
501+ def httpJsonVersion = project(" :gax-httpjson" ). version
502+
503+ new File (projectDir, " linkage-monitor-artifacts.txt" ). text = """
504+ com.google.api:gax:$version
505+ com.google.api:gax-grpc:$version
506+ com.google.api:gax-httpjson:$httpJsonVersion
507+ """
508+ }
509+ }
You can’t perform that action at this time.
0 commit comments