More fixes for build

This commit is contained in:
Georgy Litvinov 2020-11-25 12:23:58 +01:00
parent bfd43e6778
commit 0510ea8601

View file

@ -1,5 +1,4 @@
apply plugin: 'java' apply plugin: 'java'
jar.archiveName = "${jar.baseName}.${jar.extension}"
repositories{ repositories{
mavenCentral() mavenCentral()
} }
@ -34,6 +33,7 @@ dependencies{
configurations.compile.extendsFrom(configurations.bundledLibs) configurations.compile.extendsFrom(configurations.bundledLibs)
} }
jar { jar {
archiveName 'w2phtml.jar'
manifest { manifest {
attributes("Implementation-Title": rootProject.name, attributes("Implementation-Title": rootProject.name,
"Implementation-Version": project.version, "Implementation-Version": project.version,
@ -97,6 +97,7 @@ task xhtml(type: Jar) {
} }
task xhtml2(type: Jar) { task xhtml2(type: Jar) {
archiveName 'writer2phtml.jar'
manifest { manifest {
attributes("Implementation-Title": rootProject.name, attributes("Implementation-Title": rootProject.name,
"Implementation-Version": project.version, "Implementation-Version": project.version,