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

34 lines
1.1 KiB
Groovy
Raw Normal View History

/*
* 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>.
*/
description = '(deprecated - use org.infinispan:infinispan-hibernate-cache-v53 instead)'
apply from: rootProject.file( 'gradle/publishing-repos.gradle' )
apply from: rootProject.file( 'gradle/publishing-pom.gradle' )
apply plugin: 'maven-publish'
apply plugin: 'org.hibernate.build.maven-repo-auth'
ext {
relocatedGroupId = 'org.infinispan'
relocatedArtifactId = 'infinispan-hibernate-cache-v53'
relocatedVersion = '9.3.0.Final'
}
publishing {
publications {
2018-02-01 15:00:37 -05:00
publishedArtifacts {
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: publishToSonatype )