Skip to content

Commit 8a0d301

Browse files
committed
HHH-8474 accounted for Gradle 1.7's BND upgrade
1 parent 9348c23 commit 8a0d301

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

hibernate-entitymanager/hibernate-entitymanager.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jar {
4747
// <Import-Package>*</ImportPackage> will occur. This is simply a
4848
// BND instruction -- the auto-discovery of imported packages still
4949
// occurs.
50-
instruction 'Import-Package',
50+
instructionFirst 'Import-Package',
5151
'!javax.enterprise*',
5252
'javax.enterprise.context.spi;resolution:=optional',
5353
'javax.enterprise.inject.spi;resolution:=optional',

hibernate-osgi/hibernate-osgi.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jar {
7676
instruction 'Bundle-Activator', 'org.hibernate.osgi.HibernateBundleActivator'
7777
instruction 'Bundle-Description', 'Hibernate ORM OSGi'
7878

79-
instruction 'Import-Package',
79+
instructionFirst 'Import-Package',
8080
// TODO: Shouldn't have to explicitly list this, but the plugin
8181
// generates it with a [1.0,2) version.
8282
'javax.persistence;version="2.1.0"',
@@ -91,7 +91,7 @@ task copyBnd(type: Copy) {
9191

9292
task runBnd(type: JavaExec){
9393
main = "-jar"
94-
args "$buildDir/osgi-lib/bnd/bnd.jar", "$buildDir/osgi-lib/bnd/cdi-api.bnd", "$buildDir/osgi-lib/bnd/el-api.bnd", "$buildDir/osgi-lib/bnd/jandex.bnd", "$buildDir/osgi-lib/bnd/serp.bnd"
94+
args "$buildDir/osgi-lib/bnd/bnd-2.1.0.jar", "$buildDir/osgi-lib/bnd/cdi-api.bnd", "$buildDir/osgi-lib/bnd/el-api.bnd", "$buildDir/osgi-lib/bnd/jandex.bnd", "$buildDir/osgi-lib/bnd/serp.bnd"
9595
}
9696

9797
task copyToLib(type: Copy) {

0 commit comments

Comments
 (0)