/* * 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 . */ apply from: rootProject.file( 'gradle/base-information.gradle' ) apply from: rootProject.file( 'gradle/publishing-repos.gradle' ) apply from: rootProject.file( 'gradle/publishing-pom.gradle' ) apply plugin: 'maven-publish' apply plugin: 'maven-publish-auth' description = '(deprecated - use org.infinispan:infinispan-hibernate-cache instead)' ext { relocatedGroupId = 'org.infinispan' relocatedArtifactId = 'infinispan-hibernate-cache' relocatedVersion = '9.1.3.Final' } publishing { publications { relocationPom( MavenPublication ) { pom.withXml { def relocation = asNode().appendNode( 'distributionManagement' ).appendNode( 'relocation' ) relocation.appendNode( 'groupId', project.relocatedGroupId) relocation.appendNode( 'artifactId', project.relocatedArtifactId ) relocation.appendNode( 'version', project.relocatedVersion ) } } } } task release( dependsOn: publish )