Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MANIFEST.OE creation to CreateProcedureLibrary #26

Open
KiltedKanuck opened this issue Apr 1, 2020 · 0 comments
Open

Add MANIFEST.OE creation to CreateProcedureLibrary #26

KiltedKanuck opened this issue Apr 1, 2020 · 0 comments

Comments

@KiltedKanuck
Copy link
Collaborator

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,
)

}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant