-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
68 lines (52 loc) · 1.75 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
plugins {
id "com.github.johnrengelman.shadow" version "5.0.0"
id "forgified-fabric-loom" version "0.6.78"
id "java"
id "idea"
}
def ENV = System.getenv()
archivesBaseName = project.archives_base_name
version = "${mod_version}-build.${ENV.BUILD_NUMBER ?: 9999}"
group = project.maven_group
sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = '1.8'
loom {
silentMojangMappingsLicense()
useFabricMixin = true
mixinConfig "ftbschools.mixins.json"
}
repositories {
maven {
url "https://www.cursemaven.com"
content {
includeGroup "curse.maven"
}
}
}
dependencies {
minecraft("com.mojang:minecraft:${project.minecraft_version}")
mappings(minecraft.officialMojangMappings())
forge("net.minecraftforge:forge:${project.minecraft_version}-${project.forge_version}")
modCompile("curse.maven:kubejs-238086:3189113")
modCompile("curse.maven:rhino-416294:3187177")
modCompile("curse.maven:ftbguilib-404465:3184516")
modCompile("curse.maven:ftbq-289412:3154827")
modCompile("curse.maven:item-filters-289412:3183334")
modCompile("curse.maven:architectury-419699:3183867")
modRuntime("curse.maven:top-245211:3157997")
/*modRuntime("curse.maven:astral-241721:3156477")
modRuntime("curse.maven:curios-309927:3186427")
modRuntime("curse.maven:olib-316833:3162044")*/
}
processResources {
inputs.property "version", project.version
filesMatching("META-INF/mods.toml") {
expand "version": project.version
}
}
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
def targetVersion = 8
if (JavaVersion.current().isJava9Compatible()) {
options.release = targetVersion
}
}