generated from LabyMod/addon-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle.kts
39 lines (33 loc) · 997 Bytes
/
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
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.1.4")
labyMod {
defaultPackageName = "com.rappytv.labygpt.core"
addonInfo {
namespace = "labygpt"
displayName = "LabyGPT"
author = "RappyTV"
description = "Communicate with ChatGPT right in your Chat. Powered by OpenAI."
minecraftVersion = "*"
version = rootProject.version.toString()
}
minecraft {
registerVersion(versions.toTypedArray()) {
runs {
getByName("client") {
devLogin = true
}
}
}
}
}
subprojects {
plugins.apply("net.labymod.labygradle")
plugins.apply("net.labymod.labygradle.addon")
group = rootProject.group
version = rootProject.version
}