generated from makamys/forge-mod-template
-
Notifications
You must be signed in to change notification settings - Fork 10
/
project.gradle
40 lines (30 loc) · 895 Bytes
/
project.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
import java.nio.file.Paths
jar {
manifest {
attributes (
'MixinConfigs': "${modid}.mixin.json,${modid}-init.mixin.json",
'FMLAT': "neodymium_at.cfg"
)
}
}
repositories {
maven {
url = "https://mvn.falsepattern.com/releases"
}
}
dependencies {
compileOnly("com.falsepattern:triangulator-mc1.7.10:1.7.0:api")
compileOnly("com.falsepattern:rple-mc1.7.10:1.0.0-rc8:api")
compileOnly("com.falsepattern:falsetweaks-mc1.7.10:2.7.4:api")
}
runClient {
def arguments = []
arguments += [
"--mods=" + Paths.get("$projectDir").resolve(minecraft.runDir).normalize().relativize(Paths.get("$projectDir/build/libs/$archivesBaseName-${version}.jar"))
]
arguments += [
"--tweakClass", "org.spongepowered.asm.launch.MixinTweaker"
]
args(arguments)
}
apply from: "makalibs.gradle"