You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17-3Lines changed: 17 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -210,6 +210,18 @@ Add to your `~/.m2/settings.xml`:
210
210
</settings>
211
211
```
212
212
213
+
The `/maven/` endpoint uses Maven Central as primary upstream and falls back to the Gradle Plugin Portal for Gradle plugin marker metadata and related artifacts when the primary upstream returns not found.
214
+
215
+
For Gradle plugin resolution via the same proxy endpoint:
216
+
217
+
```kotlin
218
+
pluginManagement {
219
+
repositories {
220
+
maven(url = "http://localhost:8080/maven/")
221
+
}
222
+
}
223
+
```
224
+
213
225
### Gradle HTTP Build Cache
214
226
215
227
Configure in `settings.gradle(.kts)`:
@@ -219,10 +231,10 @@ buildCache {
219
231
local {
220
232
enabled = false
221
233
}
222
-
remote<HttpBuildCache> {
223
-
url = uri("http://localhost:8080/gradle/")
234
+
remote<HttpBuildCache> {
235
+
url = uri("http://localhost:8080/gradle/")
224
236
push = true
225
-
}
237
+
}
226
238
}
227
239
```
228
240
@@ -386,6 +398,7 @@ sudo dnf update
386
398
## Configuration
387
399
388
400
The proxy can be configured via:
401
+
389
402
1. Command line flags (highest priority)
390
403
2. Environment variables
391
404
3. Configuration file (YAML or JSON)
@@ -958,6 +971,7 @@ The proxy will recreate the database on next start.
0 commit comments