File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed
tooling/hibernate-gradle-plugin Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ plugins {
22 id ' java-platform'
33}
44
5+ apply from : rootProject. file( ' gradle/releasable.gradle' )
56apply from : rootProject. file( " gradle/base-information.gradle" )
67apply from : rootProject. file( " gradle/publishing-pom.gradle" )
78
Original file line number Diff line number Diff line change @@ -139,14 +139,8 @@ checkstyle {
139139 showViolations = false
140140}
141141
142-
143- afterEvaluate {
144- if ( project. ormVersion. isSnapshot ) {
145- release. enabled false
146- publish. enabled false
147- publishPlugins. enabled false
148- }
149- }
142+ tasks. publish. enabled ! project. ormVersion. isSnapshot
143+ tasks. publishPlugins. enabled ! project. ormVersion. isSnapshot
150144
151145gradle. taskGraph. whenReady { tg ->
152146 if ( tg. hasTask( project. tasks. publishPlugins ) && project. tasks. publishPlugins. enabled ) {
You can’t perform that action at this time.
0 commit comments