HHH-10629 - Spatial not bundled in release bundles

(cherry picked from commit 048268ef1e)
This commit is contained in:
Steve Ebersole 2016-08-09 20:49:20 -05:00 committed by Gail Badner
parent be57dad4c2
commit cd0d20ef5c
1 changed files with 9 additions and 0 deletions

View File

@ -122,6 +122,15 @@ distributions {
from parent.project( 'hibernate-entitymanager' ).configurations.archives.allArtifacts.files.filter{ file -> !file.name.endsWith('-sources.jar') } from parent.project( 'hibernate-entitymanager' ).configurations.archives.allArtifacts.files.filter{ file -> !file.name.endsWith('-sources.jar') }
} }
into( 'lib/spatial' ) {
from(
( parent.project( 'hibernate-spatial' ).configurations.archives.allArtifacts.files.filter{ file -> !file.name.endsWith('-sources.jar') }
+ parent.project( 'hibernate-spatial' ).configurations.runtime )
- parent.project( 'hibernate-core' ).configurations.runtime
- parent.project( 'hibernate-core' ).configurations.archives.allArtifacts.files
)
}
into( 'lib/jpa-metamodel-generator' ) { into( 'lib/jpa-metamodel-generator' ) {
from parent.project( 'hibernate-jpamodelgen' ).configurations.archives.allArtifacts.files.filter{ file -> !file.name.endsWith('-sources.jar') } from parent.project( 'hibernate-jpamodelgen' ).configurations.archives.allArtifacts.files.filter{ file -> !file.name.endsWith('-sources.jar') }
} }