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] ) -} -