-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
75 lines (64 loc) · 2.09 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
buildscript {
repositories {
mavenCentral()
maven { url "https://maven.fabricmc.net" }
maven { url "https://repo.sleeping.town" } //Commented out to use the version of voldeloom in the settings.gradle includeBuild (hopefully??)
}
dependencies {
classpath "agency.highlysuspect:voldeloom:2.4-SNAPSHOT"
}
}
apply plugin: "agency.highlysuspect.voldeloom"
java {
toolchain {
//Last version able to set a --release as low as 6.
languageVersion = JavaLanguageVersion.of(11)
}
}
compileJava {
//Forge doesn't understand classes compiled to versions of the class-file format newer than Java 6's.
options.release.set(6)
}
String minecraftVersion = project.minecraft
String forgeVersion = project.minecraft_forge
archivesBaseName = project.modid
version = project.mod_version
volde {
runs {
client {
programArg "quaternary"
}
}
}
repositories {
maven {
url("https://mvnrepository.com/artifact/it.unimi.dsi/fastutil")
}
}
dependencies {
implementation 'net.jcip:jcip-annotations:1.0'
implementation 'org.jetbrains:annotations-java5:24.0.0'
minecraft "com.mojang:minecraft:${minecraftVersion}"
forge "net.minecraftforge:forge:${forgeVersion}:universal@zip"
mappings "net.minecraftforge:forge:${forgeVersion}:src@zip"
// modImplementation files("libs/")
// coremodImplementation files("libs/")
modImplementation files("libs/VintageCore-1.5.2-1.0.3.1-dev.jar")
modImplementation files("libs/industrialcraft-2_1.117.385-lf.jar")
modImplementation files("libs/gregtechmod311.jar")
modImplementation files("libs/buildcraft-A-3.7.2.jar")
modImplementation files("libs/CraftGuide-1.6.7.3-forge.zip")
modImplementation files("libs/extrautils - 0.2.4g.zip")
modImplementation files("libs/Biomes-O-Plenty-0.5.7-1.5.2.zip")
modImplementation files("libs/ModularPowersuits-1.5.2-0.7.1-635.jar")
modImplementation files("libs/ModularPowersuits-1.5.2-0.7.1-635.jar")
// coremodImplementation files("libs/[1.5.2]TreeCapitator.Forge.1.5.2.r14.Uni.CoreMod.jar")
implementation group: 'it.unimi.dsi', name: 'fastutil', version: '8.2.1'
}
sourceSets {
main {
resources {
srcDirs 'src/main/java'
}
}
}