Fix Buildship import with eclipse.jdt.javaRuntimeName

See https://discuss.gradle.org/t/building-with-newer-jdks/21102
This commit is contained in:
Rob Winch
2017-01-11 14:23:53 -06:00
parent 85a1b43242
commit 00d5d76833

View File

@@ -5,6 +5,12 @@ import org.gradle.plugins.ide.eclipse.model.SourceFolder
apply plugin: "propdeps-eclipse"
apply plugin: "propdeps-idea"
eclipse {
jdt {
javaRuntimeName = "J2SE-1.5"
}
}
eclipse.project.buildCommand "net.sf.eclipsecs.core.CheckstyleBuilder"
eclipse.project.natures "net.sf.eclipsecs.core.CheckstyleNature"