Add automatic module name (#1967)

This commit is contained in:
Sparky 2024-02-10 07:06:27 +11:00 committed by GitHub
parent 82725b5e32
commit 05b3ed9e7f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -88,6 +88,11 @@ dependencies {
} }
tasks { tasks {
jar {
manifest {
attributes("Automatic-Module-Name" to "net.minestom.server")
}
}
withType<Javadoc> { withType<Javadoc> {
(options as? StandardJavadocDocletOptions)?.apply { (options as? StandardJavadocDocletOptions)?.apply {
encoding = "UTF-8" encoding = "UTF-8"