Commit 429d39c
committed
Make
Traditionally, maven repositories are added like this:
```groovy
repositories {
maven minecraft.mavenizer
maven { url = 'https://example.com/repo' }
}
```
In the case of Mavenizer, which we strongly recommend (and require in
most cases) to be at the top of the repositories list, I've updated
`minecraft.mavenizer(repositories)` to do that. You can use it like
this:
```groovy
minecraft.mavenizer repositories
// or
repositories {
minecraft.mavenizer it
}
```
May be useful for complex setups that add to repositories early.minecraft.mavenizer(repositories) add to top of the list1 parent 9844177 commit 429d39c
File tree
1 file changed
+4
-1
lines changed- src/main/java/net/minecraftforge/gradle
1 file changed
+4
-1
lines changedLines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
55 | 58 | | |
56 | 59 | | |
57 | 60 | | |
| |||
0 commit comments