hibernate-orm/hibernate-infinispan/hibernate-infinispan.gradle

38 lines
1.1 KiB
Groovy

/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
mavenPom {
name = '(deprecated - use org.infinispan:infinispan-hibernate-cache instead)'
description = '(deprecated - use org.infinispan:infinispan-hibernate-cache instead)'
}
jar.enabled = false
sourcesJar.enabled = false
javadoc.enabled = false
javadocJar.enabled = false
def relocatedGroupId = 'org.infinispan'
def relocatedArtifactId = 'infinispan-hibernate-cache'
def relocatedVersion = '9.1.3.Final'
publishing {
publications {
relocationPom( MavenPublication ) {
groupId 'org.hibernate'
artifactId 'hibernate-infinispan'
pom.withXml {
def relocation = asNode().appendNode( 'distributionManagement' ).appendNode( 'relocation' )
relocation.appendNode( 'groupId', relocatedGroupId)
relocation.appendNode( 'artifactId', relocatedArtifactId )
relocation.appendNode( 'version', relocatedVersion )
}
}
}
}