forked from Coders-After-Dark/CompatSkills
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
119 lines (108 loc) · 3.82 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
buildscript {
repositories {
jcenter()
maven { url = "http://files.minecraftforge.net/maven" }
}
dependencies {
classpath 'net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT'
}
}
apply plugin: 'net.minecraftforge.gradle.forge'
version = modVersion
group = modGroup
archivesBaseName = modBaseName
sourceCompatibility = targetCompatibility = '1.8'
compileJava {
sourceCompatibility = targetCompatibility = '1.8'
}
minecraft {
version = project.forgeVersion
runDir = "run"
mappings = project.mcpVersion
}
repositories{
maven {
name = "CurseForge"
url = "https://minecraft.curseforge.com/api/maven/"
}
maven {
name 'Darkhax'
url 'https://maven.mcmoddev.com/'
}
maven{
name 'JEI/Tinker'
url 'http://dvs1.progwml6.com/files/maven'
}
maven{
name 'CraftTweaker/Reskillable'
url 'https://maven.blamejared.com'
}
maven {
name = 'Baubles'
url "https://maven.thiakil.com"
}
maven {
name = 'TOP'
url "https://maven.tterrag.com/"
}
maven{
name = 'Astral Sorcery'
url "https://maven.hellfiredev.net/"
}
maven{
name = 'Curse Maven'
url = "https://cursemaven.com"
}
}
dependencies {
deobfCompile "net.darkhax.gamestages:GameStages-1.12.2:2.0.114"
deobfCompile "mezz.jei:jei_1.12.2:4.16.1.302"
deobfCompile "net.darkhax.bookshelf:Bookshelf-1.12.2:2.3.590"
deobfCompile "curse.maven:astral-sorcery-241721:3020755"
deobfCompile "curse.maven:project-253449:2568751-sources-api"
deobfCompile "CraftTweaker2:CraftTweaker2-MC1120-Main:1.12-${crafttweaker_version}"
deobfCompile "CraftTweaker2:CraftTweaker2-API:1.12-${crafttweaker_version}"
deobfCompile "CraftTweaker2:ZenScript:1.12-${crafttweaker_version}"
deobfCompile "codersafterdark.reskillable:Reskillable:1.12.2-1.13.0-SNAPSHOT.128"
deobfCompile "curse.maven:project-224791:2822288-javadoc-sources-api"
deobfCompile "curse.maven:project-228832:2645992-sources"
deobfCompile "com.azanor.baubles:Baubles:1.12-1.5.2"
deobfCompile "mcjty.theoneprobe:TheOneProbe-1.12:1.12-1.4.28-17"
deobfCompile "thaumcraft:Thaumcraft:1.12.2:6.1.BETA26"
deobfCompile "dynamic-sword-skills:1.12.2:DynamicSwordSkills:6.0.1"
deobfCompile "swordskillsapi:1.12.2:SwordSkillsApi:1.1.0"
deobfCompile "magneticraft:Magneticraft_1.12:2.8.3:dev"
deobfCompile "shadowfacts-forgelin:Forgelin:1.8.4"
deobfCompile "modelloader:modelloader:1.1.7"
deobfCompile "projecte:ProjectE:1.12.2:PE1.4.1"
deobfCompile "better-questing:BetterQuesting:api:3.5.327"
deobfCompile "curse.maven:project-250898:2611347-deobf-sources"
deobfCompile "electroblobs-wizardry:ElectroblobsWizardry:4.3.1:MC1.12.2"
deobfCompile "roboticparts:cyberware:1.12.2:0.2.11.26"
deobfCompile "slimeknights:TConstruct:${minecraft_version}-${tinkers_version}"
deobfCompile "slimeknights.mantle:Mantle:${mantle_minecraft_version}-${mantle_version}"
deobfCompile("blusunrize:ImmersiveEngineering:${ieVersion}") {
exclude module: "crafttweaker"
}
}
processResources {
// this will ensure that this task is redone when the versions change.
inputs.property "version", project.version
inputs.property "mcversion", project.minecraft.version
// replace stuff in mcmod.info, nothing else
from(sourceSets.main.resources.srcDirs) {
include 'mcmod.info'
// replace version and mcversion
expand 'version':project.version, 'mcversion':project.minecraft.version
}
// copy everything else except the mcmod.info
from(sourceSets.main.resources.srcDirs) {
exclude 'mcmod.info'
}
rename '(.+_at.cfg)', 'META-INF/$1'
}
jar {
manifest {
attributes "FMLAT": "compatskills_at.cfg"
}
}