-
Notifications
You must be signed in to change notification settings - Fork 36
/
build.fabric.gradle
45 lines (37 loc) · 1.06 KB
/
build.fabric.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
plugins {
id 'fabric-loom' version '1.6+'
id 'com.modrinth.minotaur' version '2.+'
}
group = "team.creative"
repositories {
maven {
url = "https://api.modrinth.com/maven"
}
maven { url = 'https://maven.neoforged.net/releases' }
}
java.sourceSets {
main {
java {
srcDirs = ["src/main/java", "src/fabric/java"]
}
resources {
srcDirs = ["src/main/resources", "src/fabric/resources"]
}
}
}
dependencies {
minecraft "com.mojang:minecraft:${project.minecraft_version}"
mappings loom.officialMojangMappings()
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"
modImplementation "maven.modrinth:modmenu:${project.modmenu_version}"
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
api "net.neoforged:bus:7.2.+"
include "net.neoforged:bus:7.2.+"
}
modDependencies = []
loom {
accessWidenerPath = file("src/fabric/resources/creativecore.accesswidener")
}
loom.mixin {
defaultRefmapName = "creativecore.mixins.refmap.json"
}