fixed release.gradle
This commit is contained in:
parent
703a121c00
commit
5bb128000f
|
@ -186,21 +186,10 @@ distributions {
|
|||
)
|
||||
}
|
||||
|
||||
into( 'lib/osgi' ) {
|
||||
from(
|
||||
( parent.project( 'hibernate-osgi' ).configurations.archives.allArtifacts.files.filter{ file -> !file.name.endsWith('-sources.jar') }
|
||||
+ parent.project( 'hibernate-osgi' ).configurations.runtime )
|
||||
- parent.project( 'hibernate-core' ).configurations.runtime
|
||||
- parent.project( 'hibernate-core' ).configurations.archives.allArtifacts.files
|
||||
)
|
||||
from(
|
||||
parent.project( 'hibernate-osgi' ).extensions.karaf.features.outputFile
|
||||
)
|
||||
}
|
||||
|
||||
// todo : this closure is problematic as it does not write into the hibernate-release-$project.version directory
|
||||
// due to http://issues.gradle.org/browse/GRADLE-1450
|
||||
[ 'hibernate-agroal', 'hibernate-c3p0', 'hibernate-ehcache', 'hibernate-hikaricp', 'hibernate-jcache', 'hibernate-proxool', 'hibernate-vibur' ].each { feature ->
|
||||
[ 'hibernate-agroal', 'hibernate-c3p0', 'hibernate-hikaricp', 'hibernate-jcache', 'hibernate-proxool', 'hibernate-vibur' ].each { feature ->
|
||||
final String shortName = feature.substring( 'hibernate-'.length() )
|
||||
// WORKAROUND http://issues.gradle.org/browse/GRADLE-1450
|
||||
// into('lib/optional/' + shortName) {
|
||||
|
|
Loading…
Reference in New Issue