-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
95 lines (76 loc) · 2 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
buildscript {
repositories {
jcenter()
maven {
name "forge"
url "http://files.minecraftforge.net/maven/"
}
}
dependencies {
classpath "net.minecraftforge.gradle:ForgeGradle:2.1-SNAPSHOT"
}
}
plugins {
id "com.matthewprenger.cursegradle" version "1.0.6"
}
apply plugin: "net.minecraftforge.gradle.forge"
version = mc_version + "-" + mod_version
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
minecraft {
version = mc_version + "-" + forge_version
runDir = "run"
mappings = mcp_mappings
useDepAts = true
}
processResources {
inputs.property "version", project.version
inputs.property "mcversion", mc_version
from (sourceSets.main.resources.srcDirs) {
include "mcmod.info"
expand "version": project.version, "mcversion": mc_version
}
from (sourceSets.main.resources.srcDirs) {
exclude "mcmod.info"
}
}
repositories {
maven {
name "shadowfacts"
url "http://mvn.rx14.co.uk/shadowfacts/"
}
maven {
name "progwml6"
url "http://dvs1.progwml6.com/files/maven/"
}
ivy {
name "Baubles"
artifactPattern "http://addons-origin.cursecdn.com/files/2273/274/[module]-[revision].[ext]"
}
ivy {
name "Thaumcraft"
artifactPattern "http://addons-origin.cursecdn.com/files/2287/496/[module]-[revision].[ext]"
}
}
dependencies {
deobfCompile group: "net.shadowfacts", name: "ShadowMC", version: mc_version + "-" + shadowmc_version
deobfCompile group: "mezz.jei", name: "jei_1.8.9", version: jei_version
deobfCompile group: "azanor", name: "Thaumcraft", version: "1.8.9-5.2.4"
deobfCompile group: "azanor", name: "Baubles", version: "1.8.9-1.1.3.0"
}
// curseforge {
// apiKey = project.hasProperty("curseForgeApiKey") ? project.curseForgeApiKey : ""
// project {
// id = ""
// addGameVersion "1.8.8"
// addGameVersion "1.8.9"
// addGameVersion "Java 8"
// mainArtifact(jar) {
// releaseType = "release"
// changelog = file("changelog.txt").text
// relations {
// requiredLibrary "shadowmc"
// }
// }
// }
// }