Skip to content

Commit

Permalink
Set the version in the manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
Gagravarr committed Mar 27, 2017
1 parent a306f49 commit 28146e7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ plugins {
id "com.github.johnrengelman.shadow" version "1.2.3"
}

// What we are
def pkg = 'com.quanticate.opensource.pdftkbox'
def ver = "0.1"

// Powered by Apache PDFBox and Commons CLI
apply plugin:'java'
repositories {
Expand All @@ -18,7 +22,8 @@ shadowJar {
def program = 'PDFtkBox'
manifest {
attributes 'Implementation-Title': 'PDFtkBox',
'Main-Class': 'com.quanticate.opensource.pdftkbox.'+program
'Implementation-Version': ver,
'Main-Class': pkg+"."+program
}
classifier = ''
baseName = program
Expand Down

0 comments on commit 28146e7

Please sign in to comment.