This commit is contained in:
aanno 2021-02-09 12:15:16 +01:00
parent 40fc712581
commit 7a86423487
2 changed files with 18 additions and 1 deletions

View file

@ -26,6 +26,19 @@ configurations {
}
}
tasks.withType<Jar> {
manifest {
attributes(
"Implementation-Title" to project.name,
"Implementation-Version" to project.version,
// use a more meaningful name than 'lib'
"Automatic-Module-Name" to "signal-lib",
// Custom (non-standard) attribute
"Maven-Group" to project.group
)
}
}
tasks.withType<JavaCompile> {
options.encoding = "UTF-8"
}