-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathbuild.gradle
More file actions
34 lines (26 loc) · 967 Bytes
/
build.gradle
File metadata and controls
34 lines (26 loc) · 967 Bytes
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
plugins {
id("net.lopymine.mossy-plugin")
}
mossyDependencies {
minecraft = stonecutter.current.version.toString()
mappings = prop("build.yarn")
lombok = prop("base.lombok_version")
fabricApi = prop("build.fabric_api")
fabricLoader = prop("build.fabric_loader")
additional {
// - By default, every additional project dependency ("dep.modId" from gradle.properties) will use
// - Modrinth Maven and "modImplementation" configuration name
// - If you want to override mod configuration name, you can do this:
//override("modCompileOnly", "just_mod_id")
// - It will do this:
// - modImplementation("maven.modrinth:modId:version") -> modCompileOnly("maven.modrinth:modId:version")
// - Or if you want to disable it and handle by yourself, just disable it auto handling:
//disable("just_mod_id")
}
}
mossyResources {
//expandFiles = ["custom", "file", "patterns", "here"]
}
String prop(String key) {
return findProperty(key).toString()
}