Skip to content

Commit

Permalink
Improved: Compact the definition of the jar manifest attributes
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1855676 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
mthl committed Mar 16, 2019
1 parent 37806e8 commit 2b77397
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -283,15 +283,11 @@ sourceSets {
}
}

jar {
manifest {
attributes(
"Implementation-Title": project.name,
"Main-Class": ofbizMainClass,
"Class-Path": getJarManifestClasspathForCurrentOs()
)
}
}
jar.manifest.attributes(
'Implementation-Title': project.name,
'Main-Class': ofbizMainClass,
'Class-Path': getJarManifestClasspathForCurrentOs()
)

// Eclipse plugin settings
eclipse.classpath.file.whenMerged { classpath ->
Expand Down

0 comments on commit 2b77397

Please sign in to comment.