-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Gradle] Pass actual root module publication coordinates to GMDT
So it matches with PSM content. To illustrate consider two projects App and Lib. App depends on Lib. When lib has configured Maven Publication with custom GAV coordinates. They correctly appears in its PSM file this happens in [ExportRootModuleCoordinates]. However, when another project (App) resolves dependency to Lib it will get its default gav coordinates. And this will cause inconsistencies during Metadata Dependencies Transformations because Lib's PSM and resolved graph will have different GAVs. To solve this it is necessary to use correct root module GAV. ^KT-73620 Verification Pending
- Loading branch information
Showing
6 changed files
with
120 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
...n-tests/src/test/resources/testProject/base-kotlin-multiplatform-library/build.gradle.kts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
plugins { | ||
kotlin("multiplatform") | ||
} | ||
|
||
// To be filled by test code using buildScriptInjection API |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters