Skip to content

Commit

Permalink
Fixing maven publish issue
Browse files Browse the repository at this point in the history
  • Loading branch information
noconnor committed Oct 28, 2017
1 parent b3e3581 commit fe09c99
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,20 @@ dependencies {
compile "org.projectlombok:lombok:1.16.18"
}


task javadocJar(type: Jar) {
from javadoc.destinationDir
classifier = 'javadoc'
}

task sourcesJar(type: Jar) {
classifier = 'sources'
from sourceSets.main.allSource
}

artifacts {
archives sourcesJar
archives javadocJar
}

// http://blog.sonatype.com/2010/01/how-to-generate-pgp-signatures-with-maven/
Expand All @@ -56,6 +63,7 @@ uploadArchives {

pom.project {
name 'junitperf'
artifactId 'junitperf'
packaging 'jar'
// optionally artifactId can be defined here
description 'API performance testing framework built using JUnit'
Expand Down

0 comments on commit fe09c99

Please sign in to comment.