-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
41 lines (34 loc) · 1.18 KB
/
build.gradle.kts
File metadata and controls
41 lines (34 loc) · 1.18 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
plugins {
id("net.labymod.labygradle")
id("net.labymod.labygradle.addon")
}
val versions = providers.gradleProperty("net.labymod.minecraft-versions").get().split(";")
group = "org.example"
version = providers.environmentVariable("VERSION").getOrElse("1.0.0")
labyMod {
defaultPackageName = "de.kallecrafter.globalranks" //change this to your main package name (used by all modules)
minecraft {
registerVersion(versions.toTypedArray()) {
runs {
getByName("client") {
// When the property is set to true, you can log in with a Minecraft account
devLogin = true
}
}
}
}
addonInfo {
namespace = "globalrangs"
displayName = "GlobalRanks"
author = "Kallecrafter"
description = "An addon that converts ranks into rank icons."
minecraftVersion = "1.8<1.21.5"
version = rootProject.version.toString()
}
}
subprojects {
plugins.apply("net.labymod.labygradle")
plugins.apply("net.labymod.labygradle.addon")
group = rootProject.group
version = rootProject.version
}