-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
93 lines (78 loc) · 3.2 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
plugins {
id 'maven-publish'
alias libs.plugins.shadow
alias libs.plugins.quilt.loom
alias libs.plugins.ploceus
}
apply from: "${rootProject.projectDir}/gradle/common.gradle"
group = project.maven_group
version = generateVersionWithMetadata()
base {
archivesName = project.archives_base_name
}
loom {
serverOnlyMinecraftJar()
}
ploceus {
serverOnlyMappings()
}
dependencies {
minecraft "com.mojang:minecraft:${project.minecraft_version}"
mappings loom.layered {
mappings "net.ornithemc:feather:${project.feather_version}:v2"
addLayer ploceus.nestedMappings() // Required for nests
}
nests "net.ornithemc:nests:${project.nests_version}"
modImplementation libs.quilt.loader
shadow libs.gson
implementation libs.gson
// b1.5.0 -> first version with statistics!
include project(":versions:1.0.0-beta.1.5.0-to-1.0.0-beta.1.7.3-client")
include project(":versions:1.0.0-beta.1.5.0-to-1.0.0-beta.1.5.2-server")
// b1.6.0 -> changed PlayerManager.respawn signature
include project(":versions:1.0.0-beta.1.6.0-to-1.0.0-beta.1.7.3-server")
// b1.8.0 -> added DamageSource, Minecraft.startGame signature changed
include project(":versions:1.0.0-beta.1.8.0-to-1.0.0-beta.1.8.1-client")
include project(":versions:1.0.0-beta.1.8.0-to-1.0.0-beta.1.8.1-server")
// 1.0.0 -> Initial release
// NOTE: client works until 1.0.0-pre.3 in theory
include project(":versions:1.0.0-to-1.1.0-alpha.11w48a-client")
include project(":versions:1.0.1-to-1.1.0-alpha.11w48a-server")
// 11w49a -> CustomPayloadPacket added
include project(":versions:1.1.0-alpha.11w49a-to-1.1.0-alpha.11w50a-client")
include project(":versions:1.1.0-alpha.11w49a-to-1.1.0-alpha.11w50a-server")
// 12w01a -> Entities.register and MinecraftServer.loadWorld signature changed
include project(":versions:1.1.0-alpha.12w01a-to-1.2.0-alpha.12w06a-client")
include project(":versions:1.1.0-alpha.12w01a-to-1.2.0-alpha.12w06a-server")
// 12w07a -> added redstone lamp
include project(":versions:1.2.0-alpha.12w07a-to-1.3.0-alpha.12w16a-client")
include project(":versions:1.2.0-alpha.12w07a-to-1.3.0-alpha.12w16a-server")
// 12w17a -> ...
include project(":versions:1.3.0-alpha.12w17a-to-1.3.0-alpha.12w17a-client")
include project(":versions:1.3.0-alpha.12w17a-to-1.3.0-alpha.12w17a-server")
// NOTE: 12w18a to 12w21a are v weird ..
// NOTE: All further snapshots including 1.3.0-pre.1 unsupported, for now
// 1.3.2 -> now merged!
include project(":versions:1.3.2-to-1.4.0-alpha.12w38b")
// 12w39a -> ...
include project(":versions:1.4.0-alpha.12w39a-to-1.4.7")
// 13w01a -> added comparator
include project(":versions:1.5.0-alpha.13w01a-to-1.5.0-alpha.13w01b")
//13w02a -> ...
include project(":versions:1.5.0-alpha.13w02a-to-1.5.2")
// 13w16a -> ...
include project(":versions:1.6.0-alpha.13w16a-to-1.6.4")
// 13w36a -> server-side statistics
include project(":versions:1.7.0-alpha.13w36a-to-1.8.0-alpha.14w05b")
// 14w06a -> new statistics format, no upgrade path :(
include project(":versions:1.8.0-alpha.14w06a-to-1.12.2")
}
shadowJar {
configurations = [project.configurations.shadow]
relocate "com.google", "net.lostluma.server_stats.external"
}
remapJar {
from('LICENSE') // Include license
inputFile.set shadowJar.archiveFile
dependsOn shadowJar
}