From edd825d1336126528ff1a1931516a1ad7547a176 Mon Sep 17 00:00:00 2001 From: Steve Ebersole Date: Wed, 17 May 2023 16:14:57 -0500 Subject: [PATCH] hibernate-platform release --- hibernate-platform/hibernate-platform.gradle | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/hibernate-platform/hibernate-platform.gradle b/hibernate-platform/hibernate-platform.gradle index d60cbd8465..e1d6db4276 100644 --- a/hibernate-platform/hibernate-platform.gradle +++ b/hibernate-platform/hibernate-platform.gradle @@ -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 } } -} \ No newline at end of file +} + +project( ":release" ).getTasks().named( "publishReleaseArtifacts" ).configure { + dependsOn tasks.release +} + +tasks.release.dependsOn tasks.publishToSonatype