Skip to content

Add MANIFEST.OE creation to CreateProcedureLibrary #26

@KiltedKanuck

Description

@KiltedKanuck

As a develop I need to add a manifest and add custom attributes to my procedureLibrary.
Following example below:
task packageCode(type: CreateProcedureLibrary){
destFile = "${buildDir}/${projectName}/dist/${projectName}-${version}.pl"
baseDir = "${buildDir}/${projectName}/rcode"
includes= "/"
excludes= "**/.pct"
manifest {
attributes(
'Built-By' : System.properties['user.name'],
'Build-Timestamp': new java.text.SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ").format(new Date()),
'Build-Revision' : versioning.info.commit,
'Created-By' : "Gradle ${gradle.gradleVersion}",
'Build-Jdk' : "${System.properties['java.version']} (${System.properties['java.vendor']} ${System.properties['java.vm.version']})",
'Build-OS' : "${System.properties['os.name']} ${System.properties['os.arch']} ${System.properties['os.version']}"
'DLC-Version' : OpenEdge.version.full,
'DLC-Major' : OpenEdge.version.major,
'DLC-Minor' : OpenEdge.version.minor,
'DLC-Revision' : OpenEdge.version.revision,
)

}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions