Improve Eclipse setup

Only apply the Eclipse plugin to subprojects. This prevents the
creation of an Eclipse project for the root Gradle project which was
masking the Eclipse projects for all of the Gradle sub-projects.

Update .gitignore to ignore the bin folder created by builds in
Eclipse.
This commit is contained in:
Andy Wilkinson
2014-02-20 14:43:13 +00:00
parent 473b4285fd
commit eed9000625
2 changed files with 5 additions and 3 deletions

1
.gitignore vendored
View File

@@ -11,5 +11,6 @@ atlassian-ide-plugin*.xml
out
/build
/spring-*/bin
/spring-*/build
.gradle

View File

@@ -10,13 +10,12 @@ buildscript {
configure(allprojects) {
group = "org.springframework.ws"
ext.springVersion = "3.2.4.RELEASE"
ext.axiomVersion = "1.2.14"
apply plugin: "java"
apply plugin: "propdeps-idea"
apply plugin: "eclipse"
apply plugin: "propdeps"
/* [compileJava, compileTestJava]*.options*.compilerArgs = [
@@ -80,6 +79,8 @@ configure(allprojects) {
configure(subprojects) { subproject ->
apply plugin: "eclipse"
jar {
manifest.attributes["Created-By"] =
"${System.getProperty("java.version")} (${System.getProperty("java.specification.vendor")})"
@@ -128,7 +129,7 @@ configure(subprojects) { subproject ->
project('spring-xml') {
description = "Spring XML"
dependencies {
// Spring
compile("org.springframework:spring-beans:$springVersion")