hibernate-platform release

(cherry picked from commit edd825d133)
This commit is contained in:
Steve Ebersole 2023-05-17 16:14:57 -05:00
parent edfbd79931
commit 427c0c0e8d
1 changed files with 9 additions and 1 deletions

View File

@ -6,6 +6,8 @@ apply from: rootProject.file( 'gradle/releasable.gradle' )
apply from: rootProject.file( "gradle/base-information.gradle" )
apply from: rootProject.file( "gradle/publishing-pom.gradle" )
apply plugin: 'signing'
dependencies {
constraints {
api project( ":hibernate-core" )
@ -69,4 +71,10 @@ publishing {
from components.javaPlatform
}
}
}
}
project( ":release" ).getTasks().named( "publishReleaseArtifacts" ).configure {
dependsOn tasks.release
}
tasks.release.dependsOn tasks.publishToSonatype