2020-04-06 18:21:11 +01:00
|
|
|
description = '(deprecated - use hibernate-core instead) Hibernate O/RM implementation of the JPA specification'
|
2018-01-10 15:06:58 -06:00
|
|
|
|
|
|
|
apply from: rootProject.file( 'gradle/published-java-module.gradle' )
|
|
|
|
|
2016-06-17 13:35:03 -05:00
|
|
|
dependencies {
|
|
|
|
compile( project( ':hibernate-core' ) )
|
|
|
|
compile( libraries.dom4j )
|
|
|
|
compile( libraries.commons_annotations )
|
|
|
|
compile( libraries.jpa )
|
2016-10-04 22:43:27 +02:00
|
|
|
compile( libraries.byteBuddy )
|
2016-06-17 13:35:03 -05:00
|
|
|
compile( libraries.jta )
|
|
|
|
}
|
|
|
|
|
2018-01-10 15:06:58 -06:00
|
|
|
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
2019-10-23 10:03:00 +02: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 13:35:03 -05:00
|
|
|
|
|
|
|
jar {
|
2019-10-23 10:03:00 +02:00
|
|
|
manifest.attributes.removeAll { key, value -> key != "Manifest-Version" }
|
|
|
|
// Prevent BND from adding manifest attributes automatically
|
|
|
|
bnd( '-nobundles': 'true' )
|
2016-06-18 12:10:12 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
sourcesJar {
|
2019-10-23 10:03:00 +02:00
|
|
|
manifest.attributes.removeAll { key, value -> key != "Manifest-Version" }
|
2016-06-18 12:10:12 -05:00
|
|
|
}
|
|
|
|
|
2018-01-10 15:06:58 -06:00
|
|
|
javadocJar {
|
2019-10-23 10:03:00 +02:00
|
|
|
manifest.attributes.removeAll { key, value -> key != "Manifest-Version" }
|
2018-01-10 15:06:58 -06:00
|
|
|
}
|