-
Notifications
You must be signed in to change notification settings - Fork 9
/
build.gradle
33 lines (27 loc) · 1.26 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
plugins {
id 'com.github.johnrengelman.shadow' version "${shadow_version}"
id 'fabric-loom' version "${fabric_loom_version}"
id 'com.matthewprenger.cursegradle' version "${cursegradle_version}"
id 'com.modrinth.minotaur' version "${minotaur_version}"
}
apply from: "https://raw.githubusercontent.com/henkelmax/mod-gradle-scripts/${mod_gradle_script_version}/mod.gradle"
dependencies {
implementation "de.maxhenkel.voicechat:voicechat-api:${voicechat_api_version}"
implementation "de.maxhenkel.sonic:sonic:${sonic_version}"
shadow "de.maxhenkel.sonic:sonic:${sonic_version}"
modImplementation "maven.modrinth:simple-voice-chat:fabric-${voicechat_version}"
modImplementation "maven.modrinth:replaymod:${replaymod_version}"
}
processResources {
filesMatching('fabric.mod.json') {
expand 'mod_version': mod_version,
'minecraft_dependency': minecraft_dependency,
'fabric_loader_dependency': fabric_loader_dependency,
'voicechat_dependency': voicechat_dependency,
'voicechat_dependency_breaks': voicechat_dependency_breaks,
'replaymod_dependency': replaymod_dependency
}
}
shadowJar {
relocate 'de.maxhenkel.sonic', 'de.maxhenkel.replayvoicechat.sonic'
}