We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26c5cf0 commit e268157Copy full SHA for e268157
gradle/publishing.gradle
@@ -20,6 +20,14 @@ plugins.withType(JavaPlugin) {
20
logging.captureStandardOutput LogLevel.INFO // suppress "## warnings" message
21
}
22
23
+ jar {
24
+ manifest.attributes["Implementation-Title"] = project.name
25
+ manifest.attributes["Implementation-Version"] = project.version
26
+ manifest.attributes["Automatic-Module-Name"] = project.name.replace('-', '.') // for Jigsaw
27
+ manifest.attributes["Created-By"] =
28
+ "${System.getProperty("java.version")} (${System.getProperty("java.specification.vendor")})"
29
+ }
30
+
31
task sourcesJar(type: Jar, dependsOn: classes) {
32
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
33
archiveClassifier.set("sources")
0 commit comments