Commit 7bc9f18
committed
Use project repositories instead of hardcoded Maven Central in Gradle ChangeDependency
Capture Maven repositories from GradleProject in the scanner and use
them when downloading JARs for JavaSourceSet updates, falling back to
Maven Central only if no remote repository is available. This matches
the approach already used in Maven ChangeDependencyGroupIdAndArtifactId
and both AddDependency recipes.1 parent 99bfe64 commit 7bc9f18
File tree
1 file changed
+16
-1
lines changed- rewrite-gradle/src/main/java/org/openrewrite/gradle
1 file changed
+16
-1
lines changedLines changed: 16 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
| 178 | + | |
178 | 179 | | |
179 | 180 | | |
180 | 181 | | |
| |||
210 | 211 | | |
211 | 212 | | |
212 | 213 | | |
| 214 | + | |
213 | 215 | | |
214 | 216 | | |
215 | 217 | | |
| |||
579 | 581 | | |
580 | 582 | | |
581 | 583 | | |
582 | | - | |
| 584 | + | |
583 | 585 | | |
584 | 586 | | |
585 | 587 | | |
586 | 588 | | |
587 | 589 | | |
588 | 590 | | |
589 | 591 | | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
590 | 605 | | |
591 | 606 | | |
592 | 607 | | |
| |||
0 commit comments