Only apply Groovy plugin to modules where it is actually needed
This commit is contained in:
parent
833d76ba5e
commit
401056b520
14
build.gradle
14
build.gradle
|
|
@ -21,7 +21,6 @@ configure(allprojects) { project ->
|
|||
|
||||
apply plugin: "propdeps"
|
||||
apply plugin: "java"
|
||||
apply plugin: 'groovy'
|
||||
apply plugin: "test-source-set-dependencies"
|
||||
apply from: "${gradleScriptDir}/ide.gradle"
|
||||
|
||||
|
|
@ -56,11 +55,6 @@ configure(allprojects) { project ->
|
|||
targetCompatibility=1.7
|
||||
}
|
||||
|
||||
compileGroovy {
|
||||
sourceCompatibility=1.6
|
||||
targetCompatibility=1.6
|
||||
}
|
||||
|
||||
sourceSets.test.resources.srcDirs = ["src/test/resources", "src/test/java"]
|
||||
|
||||
test {
|
||||
|
|
@ -160,6 +154,7 @@ configure(subprojects - project(":spring-build-src")) { subproject ->
|
|||
|
||||
project("spring-build-src") {
|
||||
description = "Exposes gradle buildSrc for IDE support"
|
||||
apply plugin: "groovy"
|
||||
|
||||
dependencies {
|
||||
compile gradleApi()
|
||||
|
|
@ -278,6 +273,7 @@ project("spring-beans") {
|
|||
project('spring-beans-groovy') {
|
||||
description 'Groovy Bean Definitions'
|
||||
merge.into = project(":spring-beans")
|
||||
apply plugin: "groovy"
|
||||
|
||||
dependencies {
|
||||
compile(project(":spring-core"))
|
||||
|
|
@ -293,6 +289,11 @@ project('spring-beans-groovy') {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
compileGroovy {
|
||||
sourceCompatibility=1.6
|
||||
targetCompatibility=1.6
|
||||
}
|
||||
}
|
||||
|
||||
project("spring-aop") {
|
||||
|
|
@ -866,6 +867,7 @@ configure(rootProject) {
|
|||
description = "Spring Framework"
|
||||
|
||||
apply plugin: "docbook-reference"
|
||||
apply plugin: "groovy"
|
||||
// apply plugin: "detect-split-packages"
|
||||
apply from: "${gradleScriptDir}/jdiff.gradle"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue