mirror of
https://github.com/hierynomus/sshj.git
synced 2025-12-06 15:20:54 +03:00
Added OSGI manifest to -sources.jar (Fixes #242)
This commit is contained in:
@@ -91,6 +91,7 @@ task javadocJar(type: Jar) {
|
||||
task sourcesJar(type: Jar) {
|
||||
classifier = 'sources'
|
||||
from sourceSets.main.allSource
|
||||
manifest = project.tasks.jar.manifest
|
||||
}
|
||||
|
||||
artifacts {
|
||||
@@ -110,7 +111,7 @@ if (JavaVersion.current().isJava8Compatible()) {
|
||||
}
|
||||
|
||||
uploadArchives {
|
||||
if(project.hasProperty('sonatypeUsername')) {
|
||||
if (project.hasProperty('sonatypeUsername')) {
|
||||
repositories.mavenDeployer {
|
||||
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user