From eed9000625c136f0004ca222c1745b01151fbf0d Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Thu, 20 Feb 2014 14:43:13 +0000 Subject: [PATCH] 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. --- .gitignore | 1 + build.gradle | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index fd0cfb29..a3f01ac5 100644 --- a/.gitignore +++ b/.gitignore @@ -11,5 +11,6 @@ atlassian-ide-plugin*.xml out /build +/spring-*/bin /spring-*/build .gradle diff --git a/build.gradle b/build.gradle index 1f3c43d2..cffa5d9b 100644 --- a/build.gradle +++ b/build.gradle @@ -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")