forked from TeamDman/Animus
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
72 lines (64 loc) · 2.3 KB
/
build.gradle
File metadata and controls
72 lines (64 loc) · 2.3 KB
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
buildscript {
repositories {
jcenter()
maven { url = "http://files.minecraftforge.net/maven" }
}
dependencies {
classpath 'com.github.GregTechCE:ForgeGradle:FG_2.3-SNAPSHOT'
}
}
apply plugin: 'net.minecraftforge.gradle.forge'
version = "2.1.7"
group = "com.teamdman.animus"
archivesBaseName = "Animus-${major_version}"
sourceCompatibility = targetCompatibility = '1.8'
compileJava {
sourceCompatibility = targetCompatibility = '1.8'
}
minecraft {
version = "${mc_version}-${forge_version}"
runDir = "run"
mappings = "${mappings_version}"
replace "@VERSION", project.version
replaceIn "Constants.java"
clientRunArgs += "--username=AnimusDev"
}
repositories {
maven { url "http://dvs1.progwml6.com/files/maven" } // JEI
maven { url "http://tehnut.info/maven" } // BM
maven { url "http://maven.tterrag.com/" } // TOP
maven { url "http://maven.covers1624.net" } // RF
maven { url "http://maven.blamejared.com/" } // CT
maven { url "https://minecraft.curseforge.com/api/maven/" } // TC
maven { url = "https://minecraft.curseforge.com/api/maven/" }
maven { url = "http://maven.thiakil.com" }
maven { url = "http://maven.ic2.player.to" } // IC2
}
dependencies {
deobfCompile "mezz.jei:jei_${mc_version}:${jei_version}"
deobfCompile "cofh:RedstoneFlux:1.12-2.+:deobf"
deobfCompile "mcp.mobius.waila:Hwyla:${hwyla_version}"
deobfCompile "com.azanor.baubles:Baubles:1.12-1.5.2"
deobfCompile "thaumcraft:Thaumcraft:${mc_version}:${thaumcraft_version}"
deobfCompile "info.amerifrance.guideapi:Guide-API:${guideapi_version}"
deobfCompile "com.wayoftime.bloodmagic:BloodMagic:${mc_version}-${bloodmagic_version}"
deobfCompile "CraftTweaker2:CraftTweaker2-MC1120-Main:1.12-4.+"
compile "net.industrial-craft:industrialcraft-2:2.8.+"
}
processResources {
inputs.property "version", project.version
inputs.property "mcversion", project.minecraft.version
from(sourceSets.main.resources.srcDirs) {
include 'mcmod.info'
expand 'version':project.version, 'mcversion':project.minecraft.version
}
from(sourceSets.main.resources.srcDirs) {
exclude 'mcmod.info'
}
rename '(.+_at.cfg)', 'META-INF/$1'
}
//jar {
// manifest {
// attributes 'FMLAT': 'animus_at.cfg'
// }
//}