Pick up buildSrc changes for Version and preconditions

This commit is contained in:
Chris Beams
2010-11-09 15:43:39 -08:00
parent edae65ae52
commit 6f1c83c4ea
3 changed files with 8 additions and 3 deletions

View File

@@ -14,6 +14,8 @@
* limitations under the License.
*/
import org.springframework.build.Version
// -----------------------------------------------------------------------------
// Main gradle build file for Spring Integration
//
@@ -27,7 +29,6 @@
// -----------------------------------------------------------------------------
// Configuration for the root project
// -----------------------------------------------------------------------------
apply from: "$rootDir/buildSrc/version.gradle"
apply plugin: 'idea'
// used for artifact names, building doc upload urls, etc.
@@ -48,7 +49,7 @@ allprojects {
// milestone or release.
// @see org.springframework.build.Version under buildSrc/ for more info
// @see gradle.properties for the declaration of this property.
version = createVersion(springIntegrationVersion)
version = new Version(springIntegrationVersion)
// default set of maven repositories to be used when resolving dependencies
repositories {
@@ -407,6 +408,9 @@ project('spring-integration-xmpp') {
}
}
project('docs') {
}
// add basic tasks like 'clean' and 'assemble' to the root project. e.g.: allows
// running `gradle clean` from the root project and deleting the build directory
apply plugin: 'base'

View File

@@ -16,6 +16,7 @@
apply plugin: 'base'
apply from: "$rootDir/buildSrc/docbook.gradle"
apply from: "$rootDir/buildSrc/preconditions.gradle"
description = "Spring Integration Documentation"