-
Notifications
You must be signed in to change notification settings - Fork 184
/
Copy pathbuild.gradle
34 lines (27 loc) · 1.13 KB
/
build.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
plugins {
id 'net.neoforged.gradle'
}
String mod_id = 'projectred_integration'
minecraft {
mappings channel: mcp_mappings, version: mcp_mappings_version
accessTransformer = file("src/main/resources/META-INF/accesstransformer.cfg")
runs {
data {
property 'mixin.env.remapRefMap', 'true'
property 'mixin.env.refMapRemappingFile', "${buildDir}/createSrgToMcp/output.srg"
ideaModule "${rootProject.name}.${project.name}.main"
workingDirectory file('run')
args '--mod', mod_id, '--all', '--output', file("src/main/generated"), '--existing', file("src/main/resources")
mods {
'projectred_core' { source project(':core').sourceSets.main }
'${mod_id}' { source sourceSets.main }
}
}
}
}
dependencies {
minecraft "net.neoforged:forge:${mc_version}-${forge_version}"
implementation fg.deobf("io.codechicken:CodeChickenLib:${mc_version}-${ccl_version}:universal")
implementation fg.deobf("io.codechicken:CBMultipart:${mc_version}-${cbm_version}:universal")
implementation project(":core")
}