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

33 lines
1013 B
Groovy

apply from: rootProject.file( 'gradle/published-java-module.gradle' )
description = '(deprecated - use hibernate-core instead) Hibernate O/RM implementation of the JPA specification'
dependencies {
compile( project( ':hibernate-core' ) )
compile( libraries.dom4j )
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" }
}