Commit 520fcb5
kotlin: redirect plugin marker resolution to maven artifacts (#176)
The ESRP-backed ADO publish environment uses an internal Maven mirror (Azure Artifacts feed) that doesn't sync the tiny `<plugin-id>.gradle.plugin` marker POMs the Gradle Plugin Portal uses to redirect to real artifacts. Result: `./gradlew check` fails with 'Plugin [id: org.jetbrains.kotlin.jvm, version: 2.3.21] was not found' even though kotlin-gradle-plugin is in the mirror.
Add a pluginManagement.resolutionStrategy.eachPlugin block that maps the Kotlin and Vanniktech plugin IDs directly to their Maven coordinates, bypassing the marker artifact entirely. GHA still resolves via plugin portal normally.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent e1cb40e commit 520fcb5
1 file changed
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
6 | 23 | | |
7 | 24 | | |
8 | 25 | | |
| |||
0 commit comments