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

37 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>.
*/
apply from: rootProject.file( 'gradle/base-information.gradle' )
apply from: rootProject.file( 'gradle/publishing-repos.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 ) {
// groupId 'org.hibernate'
// artifactId 'hibernate-infinispan'
//
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 )