You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 18, 2020. It is now read-only.
A simply to apply task (modifyBundle) with the follwong (script) code has to been provided:
// Make the crated jar file matching OSGi bundle and Eclipse plugin nature
jar {
if (project.file("${resourcesPath}").exists()) {
with copySpec {
from "${projectDir}/${resourcesPath}"
into "${resourcesPath}"
}
}
if (project.file('OSGI-INF').exists()) {
with copySpec {
from "${projectDir}/OSGI-INF"
into 'OSGI-INF'
}
}
manifest {
// benutze das im Projekt vorliegende File, falls vorhanden:def manif ="${projectDir}/META-INF/MANIFEST.MF"if (newFile(manif).exists()) {
from (manif) {
eachEntry { details->if (details.key =='Bundle-Version') {
details.value ="1.0.0"
}
}
}
}
}
from file ('plugin.xml')
}
The resourcePath and some other value have configurable
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
A simply to apply task (modifyBundle) with the follwong (script) code has to been provided:
The resourcePath and some other value have configurable
The text was updated successfully, but these errors were encountered: