Skip to content

Commit ba765ab

Browse files
xtrm-en770grappenmaker
authored andcommitted
✨ feature(loader): add back manifest attributes for api & impl packages
Signed-off-by: xtrm <oss@xtrm.me>
1 parent 3ed6218 commit ba765ab

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

loader/build.gradle.kts

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,27 @@ tasks {
3636
"Main-Class" to "net.weavemc.loader.impl.bootstrap.AgentKt",
3737
"Can-Retransform-Classes" to "true",
3838
)
39+
40+
manifest.attributes(
41+
mapOf(
42+
"Specification-Title" to "Weave Loader API",
43+
"Specification-Version" to "0",
44+
"Specification-Vendor" to "WeaveMC",
45+
"Implementation-Title" to "Weave Loader",
46+
"Implementation-Version" to "${project.version}",
47+
"Implementation-Vendor" to "WeaveMC",
48+
), "net.weavemc.loader.api"
49+
)
50+
manifest.attributes(
51+
mapOf(
52+
"Specification-Title" to "Weave Loader",
53+
"Specification-Version" to "0", // we're still in beta, so this is 0
54+
"Specification-Vendor" to "WeaveMC",
55+
"Implementation-Title" to "Weave Loader",
56+
"Implementation-Version" to "${project.version}",
57+
"Implementation-Vendor" to "WeaveMC",
58+
), "net.weavemc.loader.impl"
59+
)
3960
}
4061
}
4162

0 commit comments

Comments
 (0)