2015-05-19 00:23:35 -04:00
|
|
|
/*
|
|
|
|
* 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>.
|
|
|
|
*/
|
2010-10-09 14:55:13 -04:00
|
|
|
|
2018-01-10 16:06:58 -05:00
|
|
|
apply from: rootProject.file( 'gradle/base-information.gradle' )
|
|
|
|
apply from: rootProject.file( 'gradle/publishing-repos.gradle' )
|
2018-01-18 08:21:11 -05:00
|
|
|
apply from: rootProject.file( 'gradle/publishing-pom.gradle' )
|
2018-01-10 16:06:58 -05:00
|
|
|
apply plugin: 'maven-publish'
|
|
|
|
apply plugin: 'maven-publish-auth'
|
2013-04-16 19:25:20 -04:00
|
|
|
|
2018-01-10 16:06:58 -05:00
|
|
|
description = '(deprecated - use org.infinispan:infinispan-hibernate-cache instead)'
|
2010-10-09 14:55:13 -04:00
|
|
|
|
2018-01-10 16:06:58 -05:00
|
|
|
ext {
|
|
|
|
relocatedGroupId = 'org.infinispan'
|
|
|
|
relocatedArtifactId = 'infinispan-hibernate-cache'
|
|
|
|
relocatedVersion = '9.1.3.Final'
|
|
|
|
}
|
2017-12-18 12:19:13 -05:00
|
|
|
|
|
|
|
publishing {
|
|
|
|
publications {
|
|
|
|
relocationPom( MavenPublication ) {
|
|
|
|
pom.withXml {
|
|
|
|
def relocation = asNode().appendNode( 'distributionManagement' ).appendNode( 'relocation' )
|
2018-01-10 16:06:58 -05:00
|
|
|
relocation.appendNode( 'groupId', project.relocatedGroupId)
|
|
|
|
relocation.appendNode( 'artifactId', project.relocatedArtifactId )
|
|
|
|
relocation.appendNode( 'version', project.relocatedVersion )
|
2017-12-18 12:19:13 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2012-09-25 10:39:32 -04:00
|
|
|
}
|
|
|
|
|
2018-01-10 16:06:58 -05:00
|
|
|
task release( dependsOn: publish )
|