2020-04-06 13:21:11 -04:00
|
|
|
description = '(deprecated - use hibernate-core instead) Hibernate O/RM implementation of the JPA specification'
|
2018-01-10 16:06:58 -05:00
|
|
|
|
|
|
|
apply from: rootProject.file( 'gradle/published-java-module.gradle' )
|
|
|
|
|
2016-06-17 14:35:03 -04:00
|
|
|
dependencies {
|
|
|
|
compile( project( ':hibernate-core' ) )
|
|
|
|
compile( libraries.dom4j )
|
|
|
|
compile( libraries.commons_annotations )
|
|
|
|
compile( libraries.jpa )
|
2016-10-04 16:43:27 -04:00
|
|
|
compile( libraries.byteBuddy )
|
2016-06-17 14:35:03 -04:00
|
|
|
compile( libraries.jta )
|
|
|
|
}
|
|
|
|
|
2018-01-10 16:06:58 -05:00
|
|
|
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
2019-10-23 04:03:00 -04:00
|
|
|
// Traditionally we used to not include any manifest attributes in this JAR
|
|
|
|
// except "Manifest-Version"
|
|
|
|
// Since it's a legacy JAR, let's continue that way until it's retired.
|
2016-06-17 14:35:03 -04:00
|
|
|
|
|
|
|
jar {
|
2019-10-23 04:03:00 -04:00
|
|
|
manifest.attributes.removeAll { key, value -> key != "Manifest-Version" }
|
|
|
|
// Prevent BND from adding manifest attributes automatically
|
|
|
|
bnd( '-nobundles': 'true' )
|
2016-06-18 13:10:12 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
sourcesJar {
|
2019-10-23 04:03:00 -04:00
|
|
|
manifest.attributes.removeAll { key, value -> key != "Manifest-Version" }
|
2016-06-18 13:10:12 -04:00
|
|
|
}
|
|
|
|
|
2018-01-10 16:06:58 -05:00
|
|
|
javadocJar {
|
2019-10-23 04:03:00 -04:00
|
|
|
manifest.attributes.removeAll { key, value -> key != "Manifest-Version" }
|
2018-01-10 16:06:58 -05:00
|
|
|
}
|