Skip to content

Commit

Permalink
Ensure sources jar is assembled.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Barker committed Jul 25, 2016
1 parent 72018bc commit 593c6d2
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,6 @@ allprojects {
group = 'com.lmax.nanofix'

version = resolveVersion()

jar {
manifest.attributes('Built-By': System.properties['user.name'],
'Bundle-Name': fullName,
'Bundle-Vendor': teamName,
'Bundle-Description': fullDescription,
'Bundle-DocURL': siteUrl)
}

}

Version resolveVersion()
Expand Down Expand Up @@ -81,6 +72,13 @@ subprojects {

}

jar {
manifest.attributes('Built-By': System.properties['user.name'],
'Bundle-Name': fullName,
'Bundle-Vendor': teamName,
'Bundle-Description': fullDescription,
'Bundle-DocURL': siteUrl)
}

task sourcesJar(type: Jar) {
classifier = 'sources'
Expand Down

0 comments on commit 593c6d2

Please sign in to comment.