Skip to content

Commit 305a620

Browse files
committed
Set content filter for custom maven servers
1 parent 42d4a4d commit 305a620

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

build.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ repositories {
1515
url = "https://jitpack.io"
1616

1717
content {
18-
includeGroup "com.github.RelativityMC.netty-raknet"
19-
includeGroup "com.github.telecran-telecrit"
18+
includeGroupByRegex "com\\.github\\..+"
2019
}
2120
}
2221
}

buildSrc/src/main/groovy/viaproxy.plugin-conventions.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ repositories {
99
maven {
1010
name = "ViaVersion"
1111
url = "https://repo.viaversion.com"
12+
13+
content {
14+
includeGroupByRegex "com\\.viaversion(\\..+)?"
15+
includeGroupByRegex "net\\.raphimc(\\..+)?"
16+
}
1217
}
1318
}
1419

0 commit comments

Comments
 (0)