Further reorganization and polish of build script

This commit is contained in:
Chris Beams
2010-11-10 08:09:26 -08:00
parent a34f10c230
commit b3f18afdd7
4 changed files with 15 additions and 19 deletions

View File

@@ -25,19 +25,21 @@ import org.springframework.build.Version
// @author Mark Fisher
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
// Configuration for the root project
// -----------------------------------------------------------------------------
def buildSrcDir = "$rootDir/buildSrc"
apply from: "$buildSrcDir/wrapper.gradle"
apply plugin: 'idea'
// used for artifact names, building doc upload urls, etc.
description = 'Spring Integration'
abbreviation = 'INT'
apply plugin: 'base'
apply plugin: 'idea'
def buildSrcDir = "$rootDir/buildSrc"
apply from: "$buildSrcDir/wrapper.gradle"
apply from: "$buildSrcDir/maven-root-pom.gradle"
// -----------------------------------------------------------------------------
// Configuration for all projects including this one (the root project)
@@ -75,11 +77,11 @@ allprojects {
//
// @see configure(*) sections below
// -----------------------------------------------------------------------------
javaprojects = subprojects.findAll { project ->
project.path.startsWith(':spring-integration-')
}
// -----------------------------------------------------------------------------
// Configuration for all java subprojects
// -----------------------------------------------------------------------------
@@ -415,20 +417,12 @@ project('spring-integration-xmpp') {
}
}
// -----------------------------------------------------------------------------
// Configuration for the docs subproject
// -----------------------------------------------------------------------------
project('docs') {
apply from: "$buildSrcDir/docs.gradle"
}
// 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'
// add tasks like 'distArchive'
apply from: "$buildSrcDir/dist.gradle"
// add tasks like 'snapshotDependencyCheck'
apply from: "$buildSrcDir/checks.gradle"
// add 'generatePom' task to generate root pom with <modules> section
apply from: "$buildSrcDir/maven-root-pom.gradle"

View File

@@ -1,3 +1,5 @@
//apply plugin: 'java'
/**
* Generate schema creation and drop scripts for various databases
* supported by the Spring Integration JDBC adapter.