hibernate-orm/hibernate-entitymanager/hibernate-entitymanager.gradle

31 lines
984 B
Groovy

description = '(deprecated - use hibernate-core instead) Hibernate O/RM implementation of the JPA specification'
apply from: rootProject.file( 'gradle/published-java-module.gradle' )
dependencies {
compile( project( ':hibernate-core' ) )
compile( libraries.commons_annotations )
compile( libraries.jpa )
compile( libraries.byteBuddy )
compile( libraries.jta )
}
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// 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.
jar {
manifest.attributes.removeAll { key, value -> key != "Manifest-Version" }
// Prevent BND from adding manifest attributes automatically
bnd( '-nobundles': 'true' )
}
sourcesJar {
manifest.attributes.removeAll { key, value -> key != "Manifest-Version" }
}
javadocJar {
manifest.attributes.removeAll { key, value -> key != "Manifest-Version" }
}