Skip to content

Commit c27e0ca

Browse files
committed
chore: Implement maven repository filters
1 parent 57b6de3 commit c27e0ca

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

build.gradle

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,21 @@ allprojects {
77

88
repositories {
99
mavenCentral()
10-
maven { url = "https://jitpack.io/" }
11-
maven { url = "https://maven.fabricmc.net/" }
10+
maven {
11+
url = "https://maven.fabricmc.net/"
12+
content {
13+
includeGroup "net.fabricmc"
14+
}
15+
}
1216
maven { url = "https://mcphackers.org/libraries/" }
1317
maven { url = "https://maven.glass-launcher.net/releases" }
18+
maven {
19+
url = "https://jitpack.io/"
20+
content {
21+
includeGroupByRegex "io\\.github\\..+"
22+
includeGroupByRegex "com\\.github\\..+"
23+
}
24+
}
1425
}
1526

1627
dependencies {

0 commit comments

Comments
 (0)