Further reorganization and polish of build script
This commit is contained in:
30
build.gradle
30
build.gradle
@@ -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"
|
||||
|
||||
|
||||
2
buildSrc
2
buildSrc
Submodule buildSrc updated: 86070e09b5...7b64fc1098
Binary file not shown.
@@ -1,3 +1,5 @@
|
||||
//apply plugin: 'java'
|
||||
|
||||
/**
|
||||
* Generate schema creation and drop scripts for various databases
|
||||
* supported by the Spring Integration JDBC adapter.
|
||||
|
||||
Reference in New Issue
Block a user