-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
23 lines (21 loc) · 808 Bytes
/
build.gradle.kts
File metadata and controls
23 lines (21 loc) · 808 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
plugins {
id("dev.tocraft.modmaster.root") version("single-1.10.1")
}
allprojects {
tasks.withType<Jar>().configureEach {
manifest {
attributes["Specification-Title"] = rootProject.properties["archives_base_name"]
attributes["Specification-Vendor"] = "To_Craft"
attributes["Implementation-Title"] = rootProject.properties["archives_base_name"]
attributes["Implementation-Version"] = rootProject.version
attributes["Implementation-Vendor"] = "To_Craft"
attributes["Main-Class"] = rootProject.properties["main_class"]
}
}
}
ext {
val modMeta = mutableMapOf<String, Any>()
modMeta["minecraft"] = project.properties["minecraft"] as String
modMeta["version"] = version
set("mod_meta", modMeta)
}