diff --git a/gradle/ide.gradle b/gradle/ide.gradle index ef2b871618..973f5f6d46 100644 --- a/gradle/ide.gradle +++ b/gradle/ide.gradle @@ -5,13 +5,13 @@ import org.gradle.plugins.ide.eclipse.model.SourceFolder apply plugin: "propdeps-eclipse" apply plugin: "propdeps-idea" -// Until eclipse fully supports Java 8 use 1.7 source level eclipse.jdt { - sourceCompatibility = 1.7 - targetCompatibility = 1.7 + sourceCompatibility = 1.8 + targetCompatibility = 1.8 } // Replace classpath entries with project dependencies (GRADLE-1116) +// http://issues.gradle.org/browse/GRADLE-1116 eclipse.classpath.file.whenMerged { classpath -> def regexp = /.*?\/([^\/]+)\/build\/[^\/]+\/(?:main|test)/ // only match those that end in main or test (avoids removing necessary entries like build/classes/jaxb) def projectOutputDependencies = classpath.entries.findAll { entry -> entry.path =~ regexp } diff --git a/import-into-eclipse.sh b/import-into-eclipse.sh index 7e26e74b8a..17ee0f23e2 100755 --- a/import-into-eclipse.sh +++ b/import-into-eclipse.sh @@ -1,22 +1,25 @@ -STS_TEST_VERSION='2.9.2.RELEASE' - cd `dirname $0` clear cat <