-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathbuildsc.dependencies.gradle
59 lines (51 loc) · 2.13 KB
/
buildsc.dependencies.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/*
* Defines the repositories where the project dependencies are obtained from.
*/
repositories
{
// Add repositories to retrieve artifacts from in here.
// You should only use this when depending on other mods because
// Loom adds the essential maven repositories to download Minecraft and libraries from automatically.
// See https://docs.gradle.org/current/userguide/declaring_repositories.html
// for more information about repositories.
maven { url "https://cursemaven.com/" }
maven { url "https://maven.shedaniel.me/" }
maven { url "https://maven.terraformersmc.com/releases/" }
}
/*
* Defines the source-sets used by this project.
*/
sourceSets
{
main
{
java { srcDirs = ['src/main/java'] }
groovy { srcDirs = ['src/main/groovy'] }
resources { srcDirs = ['src/main/resources'] }
}
}
/*
* Implements the dependencies this project uses.
*/
dependencies
{
// To change the versions see the gradle.properties file
minecraft "com.mojang:minecraft:${project.minecraft_version}"
mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"
// Fabric API
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
// Don't forget to declare | "fabric":"*" | as a dependency in fabric.mod.json
// Mod Menu
modApi "com.terraformersmc:modmenu:${project.modmenu_version}"
// Roughly Enough Items
modApi "me.shedaniel:RoughlyEnoughItems-fabric:${project.rei_version}"
// Architectury API
// modApi "dev.architectury:architectury-fabric:${project.architectury_version}"
// Uncomment the following line to enable the deprecated Fabric API modules.
// These are included in the Fabric API production distribution and allow you to update your mod to the latest modules at a later more convenient time.
// modImplementation "net.fabricmc.fabric-api:fabric-api-deprecated:${project.fabric_version}"
// All .jar files in 'src/main/resources/META-INF/jarjar'
modImplementation fileTree(dir: 'src/main/resources/META-INF/jarjar', include: '*.jar')
modImplementation fileTree(dir: 'src/main/resources/META-INF/jarjar-excluded', include: '*.jar')
}