Skip to content

Commit

Permalink
5.3 beta2
Browse files Browse the repository at this point in the history
  • Loading branch information
sebersole committed Feb 1, 2018
1 parent a6e6f82 commit dc7ed28
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 6 deletions.
7 changes: 7 additions & 0 deletions build.gradle
Expand Up @@ -57,6 +57,13 @@ task release {
"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
Expand Down
2 changes: 1 addition & 1 deletion gradle/base-information.gradle
Expand Up @@ -20,7 +20,7 @@
apply plugin: 'base'

ext {
hibernateVersion = '5.3.0.Beta2'
hibernateVersion = '5.3.0-SNAPSHOT'
baselineJavaVersion = '1.8'
jpaVersion = '2.2'

Expand Down
14 changes: 9 additions & 5 deletions gradle/published-java-module.gradle
Expand Up @@ -13,11 +13,6 @@ apply from: rootProject.file( 'gradle/publishing-pom.gradle' )
apply from: rootProject.file( 'gradle/publishing-repos.gradle' )


task ciBuild( dependsOn: [clean, test, publish] )

task release( dependsOn: [clean, test, publish] )


// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Jar

Expand Down Expand Up @@ -142,6 +137,10 @@ publishing {
}
}

bintray {
publications = ['publishedArtifacts']
}

model {
tasks.generatePomFileForPublishedArtifactsPublication {
destination = file( "${buildDir}/generated-pom.xml" )
Expand All @@ -150,3 +149,8 @@ model {

task generatePomFile( dependsOn: 'generatePomFileForPublishedArtifactsPublication' )


task ciBuild( dependsOn: [clean, test, publish] )

task release( dependsOn: [clean, test, bintrayUpload] )

0 comments on commit dc7ed28

Please sign in to comment.