File tree 4 files changed +12
-15
lines changed
4 files changed +12
-15
lines changed Original file line number Diff line number Diff line change @@ -11,11 +11,12 @@ base {
11
11
}
12
12
13
13
repositories {
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
+ maven {
15
+ setUrl(" https://api.modrinth.com/maven" )
16
+ content {
17
+ includeGroup(" maven.modrinth" )
18
+ }
19
+ }
19
20
}
20
21
21
22
dependencies {
@@ -26,8 +27,8 @@ dependencies {
26
27
27
28
// Fabric API. This is technically optional, but you probably want it anyway.
28
29
modImplementation " net.fabricmc.fabric-api:fabric-api:${ project.fabric_version} "
29
-
30
- modImplementation files( " libs/ImproperUI-1-20.2-0.0.6-BETA.jar " )
30
+ // "Getting" the ImproperUi Library from the Modrinth api
31
+ modImplementation " maven.modrinth:improperui: ${ project.improperui_version } "
31
32
}
32
33
33
34
processResources {
@@ -79,12 +80,4 @@ publishing {
79
80
from components. java
80
81
}
81
82
}
82
-
83
- // See https://docs.gradle.org/current/userguide/publishing_maven.html for information on how to set up publishing.
84
- repositories {
85
- // Add repositories to publish to here.
86
- // Notice: This block does NOT have the same function as the block in the top level.
87
- // The repositories here will be used for publishing your artifact, not for
88
- // retrieving dependencies.
89
- }
90
83
}
Original file line number Diff line number Diff line change @@ -15,3 +15,6 @@ org.gradle.jvmargs=-Xmx1G
15
15
# Dependencies
16
16
# check this on https://modmuss50.me/fabric.html
17
17
fabric_version =0.91.6+1.20.2
18
+ # ImproperUI
19
+ # check latest release on https://github.com/ItziSpyder/ImproperUI/releases
20
+ improperui_version =1-20.2-0.0.6-BETA
Original file line number Diff line number Diff line change 26
26
" viewmodel.mixins.json"
27
27
],
28
28
"depends" : {
29
+ "improperui" : " >=${improperui_version}" ,
29
30
"fabricloader" : " >=${loader_version}" ,
30
31
"fabric" : " *" ,
31
32
"minecraft" : " >=${minecraft_version}"
You can’t perform that action at this time.
0 commit comments