Hi,

Is there a more other way to add the ‘Class-Path’ entry in the MANIFEST.MF
file of a Java project?

  dependencies.resolve('compile').each{ dep->
    classpath.append(' ')       
    classpath.append('lib/'+dep.getName())
  }
  classpath.delete(0,1)
 
  manifest.mainAttributes( 
                    'Provider': 'com.thalesgroup.epm',
                    'Main-Class':
'com.thalesgroup.orchestra.migration.doors.DoorsIdMigrationMain',
                    'Implementation-Version': version,
                    'Class-Path':classpath.toString())

And, I want to add an entry for the gradle version in my MANIFEST.MF ( the
gradle version that has been used for packaging the Java archive).
How to retrieve the gradle version?

Thanks.

-- 
View this message in context: 
http://www.nabble.com/Manage-the-content-of-the-MANIFEST.MF-file-tp21718395p21718395.html
Sent from the gradle-user mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to