35 lines
838 B
Groovy
35 lines
838 B
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/jakarta-java-module.gradle' )
|
||
|
apply from: rootProject.file( 'gradle/publishing-pom.gradle' )
|
||
|
apply plugin: 'org.hibernate.orm.jakarta-publish'
|
||
|
|
||
|
publishing {
|
||
|
publications {
|
||
|
publishedArtifacts {
|
||
|
from components.jakarta
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
//java {
|
||
|
// withJavadocJar()
|
||
|
// withSourcesJar()
|
||
|
//}
|
||
|
|
||
|
|
||
|
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||
|
// Release / publishing tasks
|
||
|
|
||
|
task ciBuild( dependsOn: [test, publish] )
|
||
|
|
||
|
task release(dependsOn: [test, publishToSonatype])
|
||
|
publishToSonatype.mustRunAfter test
|
||
|
|
||
|
|