-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
119 lines (99 loc) · 3.04 KB
/
build.gradle.kts
File metadata and controls
119 lines (99 loc) · 3.04 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
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
plugins {
id("com.falsepattern.fpgradle-mc") version "4.0.1"
}
group = "com.ventooth"
minecraft_fp {
java {
compatibility = modern
}
mod {
modid = "beddium"
name = "Beddium"
rootPkg = "$group.beddium"
}
api {
packages = listOf("api")
}
mixin {
pkg = "mixin.mixins"
}
core {
coreModClass = "asm.CoreLoadingPlugin"
accessTransformerFile = "beddium_at.cfg"
}
tokens {
tokenClass = "Tags"
}
publish {
maven {
repoUrl = "https://mvn.ventooth.com/releases"
repoName = "venmaven"
}
curseforge {
projectId = "1065808"
dependencies {
required("fplib")
required("lwjgl3ify")
optional("lumi")
optional("rple")
optional("mcpatcher")
optional("falsetweaks")
optional("swansong")
}
}
modrinth {
projectId = "kPtHpb7z"
dependencies {
required("fplib")
required("lwjgl3ify")
optional("lumi1710")
optional("rple")
optional("mcpatcher")
optional("falsetweaks")
optional("swansong")
}
}
}
}
tasks.processResources {
from(file("LICENSE"))
from(file(".idea/icon.png")) {
rename { "beddium.png" }
}
}
repositories {
exclusive(mavenpattern(), "com.falsepattern")
exclusive(maven("taumcMirror", "https://mvn.falsepattern.com/taumc"), "org.embeddedt.celeritas")
exclusive(mega(), "mega")
exclusive(venmaven(), "com.ventooth")
cursemavenEX()
}
dependencies {
apiSplit("com.falsepattern:falsepatternlib-mc1.7.10:1.9.0")
compileOnlyApi("org.joml:joml:1.10.8")
compileOnlyApi("it.unimi.dsi:fastutil:8.5.16")
compileOnlyApi("org.embeddedt.celeritas:celeritas-common:2.4.0-dev.3")
shadowImplementation("org.embeddedt.celeritas:celeritas-common:2.4.0-dev.3") {
excludeDeps()
}
compileOnly("mega:megatraceservice:1.3.0")
compileOnly("mega:fluidlogged-mc1.7.10:0.1.2:api")
devOnlyNonPublishable("com.ventooth:swansong-mc1.7.10:1.2.5:dev")
// netherlicious-3.2.8.jar
compileOnly(deobfCurse("netherlicious-385860:4363437"))
// FlenixCitiesCore_[1.7.10]-0.17.0-b139.jar
compileOnly(deobfCurse("flenixcities-237634:2722234"))
// iChunUtil-4.2.3.jar
// Needed for doors mod when testing
// runtimeOnly(deobfCurse("ichunutil-229060:2338148"))
// Doors-4.0.1.jar
compileOnly(deobfCurse("doorsbyichun-229070:2232517"))
// WelcomeToTheJungle-1.0.9-1.7.10.jar
// Here for testing the Fast Fog implementation
// runtimeOnly(deobfCurse("welcometothejungle-246895:2775633"))
}
tasks.processResources.configure {
into("META-INF/falsepatternlib_repo/mega/megatraceservice/1.3.0/") {
from(configurations.compileClasspath.map { it.filter { file -> file.name.contains("megatraceservice") } })
}
}