-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle.kts
46 lines (38 loc) · 1.16 KB
/
build.gradle.kts
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
plugins {
id("basic-project-convention")
id("org.cadixdev.licenser") version ("0.6.1")
id("net.labymod.labygradle")
id("net.labymod.labygradle.addon")
}
val versions = providers.gradleProperty("net.labymod.minecraft-versions").get().split(";")
version = providers.environmentVariable("VERSION").getOrElse("0.0.1")
labyMod {
defaultPackageName = "org.burgerbude.labymod.addons.${rootProject.name}" //change this to your main package name (used by all modules)
addonInfo {
namespace = "fullbright"
displayName = "Full Bright"
author = "BurgerbudeORG"
version = rootProject.version.toString()
}
minecraft {
registerVersion(versions.toTypedArray()) {
runs {
getByName("client") {
// When the property is set to true, you can log in with a Minecraft account
// devLogin = true
}
}
}
}
}
subprojects {
plugins.apply("basic-project-convention")
plugins.apply("net.labymod.labygradle")
plugins.apply("net.labymod.labygradle.addon")
plugins.apply("org.cadixdev.licenser")
license {
header(rootProject.file("LICENSE-HEADER.txt"))
newLine.set(true)
}
version = rootProject.version
}