Skip to content

Commit cd0d20e

Browse files
sebersolegbadner
authored andcommitted
HHH-10629 - Spatial not bundled in release bundles
(cherry picked from commit 048268e)
1 parent be57dad commit cd0d20e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

release/release.gradle

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,15 @@ distributions {
122122
from parent.project( 'hibernate-entitymanager' ).configurations.archives.allArtifacts.files.filter{ file -> !file.name.endsWith('-sources.jar') }
123123
}
124124

125+
into( 'lib/spatial' ) {
126+
from(
127+
( parent.project( 'hibernate-spatial' ).configurations.archives.allArtifacts.files.filter{ file -> !file.name.endsWith('-sources.jar') }
128+
+ parent.project( 'hibernate-spatial' ).configurations.runtime )
129+
- parent.project( 'hibernate-core' ).configurations.runtime
130+
- parent.project( 'hibernate-core' ).configurations.archives.allArtifacts.files
131+
)
132+
}
133+
125134
into( 'lib/jpa-metamodel-generator' ) {
126135
from parent.project( 'hibernate-jpamodelgen' ).configurations.archives.allArtifacts.files.filter{ file -> !file.name.endsWith('-sources.jar') }
127136
}

0 commit comments

Comments
 (0)