From a6e6f829448225f0ee0c99ad808b2d89c2b0cd91 Mon Sep 17 00:00:00 2001 From: Steve Ebersole Date: Thu, 1 Feb 2018 11:43:45 -0600 Subject: [PATCH] HHH-12172 - Move to BinTray for publishing artifacts --- hibernate-orm-modules/hibernate-orm-modules.gradle | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/hibernate-orm-modules/hibernate-orm-modules.gradle b/hibernate-orm-modules/hibernate-orm-modules.gradle index f1a68f8e4c..c1568e33e8 100644 --- a/hibernate-orm-modules/hibernate-orm-modules.gradle +++ b/hibernate-orm-modules/hibernate-orm-modules.gradle @@ -161,8 +161,9 @@ publishing { } } -task release( dependsOn: createModulesZip ) +task ciBuild( dependsOn: [clean, test, publish] ) +task release( dependsOn: [clean, test, publish] ) // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -195,11 +196,3 @@ processTestResources { } -if ( project.isSnapshot ) { - // only run the ci build tasks for SNAPSHOT versions - task ciBuild( dependsOn: [clean, test] ) -} -else { - task release( dependsOn: [clean, test] ) -} -