5.3 beta2

This commit is contained in:
Steve Ebersole 2018-02-01 13:19:08 -06:00
parent a6e6f82944
commit dc7ed28865
3 changed files with 17 additions and 6 deletions

View File

@ -57,6 +57,13 @@ task release {
"themselves if they have any release-related activities to perform" "themselves if they have any release-related activities to perform"
} }
task publish {
description = "The task performed when we want to just publish maven artifacts. Relies on " +
"the fact that subprojects will have a task named pubappropriately define a release task " +
"themselves if they have any release-related activities to perform"
}
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// CI Build Task // CI Build Task

View File

@ -20,7 +20,7 @@
apply plugin: 'base' apply plugin: 'base'
ext { ext {
hibernateVersion = '5.3.0.Beta2' hibernateVersion = '5.3.0-SNAPSHOT'
baselineJavaVersion = '1.8' baselineJavaVersion = '1.8'
jpaVersion = '2.2' jpaVersion = '2.2'

View File

@ -13,11 +13,6 @@ apply from: rootProject.file( 'gradle/publishing-pom.gradle' )
apply from: rootProject.file( 'gradle/publishing-repos.gradle' ) apply from: rootProject.file( 'gradle/publishing-repos.gradle' )
task ciBuild( dependsOn: [clean, test, publish] )
task release( dependsOn: [clean, test, publish] )
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Jar // Jar
@ -142,6 +137,10 @@ publishing {
} }
} }
bintray {
publications = ['publishedArtifacts']
}
model { model {
tasks.generatePomFileForPublishedArtifactsPublication { tasks.generatePomFileForPublishedArtifactsPublication {
destination = file( "${buildDir}/generated-pom.xml" ) destination = file( "${buildDir}/generated-pom.xml" )
@ -150,3 +149,8 @@ model {
task generatePomFile( dependsOn: 'generatePomFileForPublishedArtifactsPublication' ) task generatePomFile( dependsOn: 'generatePomFileForPublishedArtifactsPublication' )
task ciBuild( dependsOn: [clean, test, publish] )
task release( dependsOn: [clean, test, bintrayUpload] )