Skip to content

Commit 2d6c30e

Browse files
committed
Add Modrinth Maven
1 parent eb7d47f commit 2d6c30e

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

build.gradle

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,19 @@ version = "$modVersion+$branchName"
1010
base.archivesName = project.slug
1111

1212
repositories {
13+
// Modrinth Maven - see: https://support.modrinth.com/en/articles/8801191-modrinth-maven
14+
// To use in a dependency, use: maven.modrinth:mod-id
15+
exclusiveContent {
16+
forRepository {
17+
maven {
18+
name = "Modrinth"
19+
url = "https://api.modrinth.com/maven"
20+
}
21+
}
22+
filter {
23+
includeGroup("maven.modrinth")
24+
}
25+
}
1326
}
1427

1528
dependencies {

0 commit comments

Comments
 (0)