File tree Expand file tree Collapse file tree 1 file changed +15
-9
lines changed
Expand file tree Collapse file tree 1 file changed +15
-9
lines changed Original file line number Diff line number Diff line change @@ -11,11 +11,17 @@ base {
1111}
1212
1313repositories {
14- // Add repositories to retrieve artifacts from in here.
15- // You should only use this when depending on other mods because
16- // Loom adds the essential maven repositories to download Minecraft and libraries from automatically.
17- // See https://docs.gradle.org/current/userguide/declaring_repositories.html
18- // for more information about repositories.
14+ exclusiveContent {
15+ forRepository {
16+ maven {
17+ name = " Modrinth"
18+ url = " https://api.modrinth.com/maven"
19+ }
20+ }
21+ filter {
22+ includeGroup " maven.modrinth"
23+ }
24+ }
1925}
2026
2127dependencies {
@@ -26,7 +32,7 @@ dependencies {
2632
2733 // Fabric API. This is technically optional, but you probably want it anyway.
2834 modImplementation " net.fabricmc.fabric-api:fabric-api:${ project.fabric_version} "
29-
35+
3036}
3137
3238processResources {
5258}
5359
5460jar {
55- from(" LICENSE" ) {
56- rename { " ${ it} _${ project. base.archivesName.get()} " }
61+ from(' LICENSE' ) {
62+ rename { " ${ it} _${ base.archivesName.get()} " }
5763 }
5864}
5965
@@ -73,4 +79,4 @@ publishing {
7379 // The repositories here will be used for publishing your artifact, not for
7480 // retrieving dependencies.
7581 }
76- }
82+ }
You can’t perform that action at this time.
0 commit comments