-
Notifications
You must be signed in to change notification settings - Fork 80
/
Copy pathbuild.gradle
28 lines (24 loc) · 1.1 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
plugins {
id 'net.neoforged.gradle.userdev' version "${neogradle_version}"
id 'net.neoforged.gradle.mixin' version "${neogradle_mixin_version}"
id 'com.matthewprenger.cursegradle' version "${cursegradle_version}"
id 'com.modrinth.minotaur' version "${minotaur_version}"
id 'com.github.johnrengelman.shadow' version "${shadow_version}"
id 'mod-update' version "${mod_update_version}"
}
apply from: "https://raw.githubusercontent.com/henkelmax/mod-gradle-scripts/${mod_gradle_script_version}/mod.gradle"
dependencies {
shadow "de.maxhenkel.corelib:corelib:${minecraft_version}-${corelib_version}:api"
runtimeOnly "de.maxhenkel.corelib:corelib:${minecraft_version}-${corelib_version}"
compileOnly "de.maxhenkel.corelib:corelib:${minecraft_version}-${corelib_version}:javadoc"
}
processResources {
filesMatching('**/*.toml') {
expand 'mod_version': mod_version,
'neoforge_dependency': neoforge_dependency,
'minecraft_version': minecraft_version
}
}
shadowJar {
relocate 'de.maxhenkel.corelib', 'de.maxhenkel.miningdimension.corelib'
}