First part of boolean flip seems to be clean; need to debug the second part and figur...
[jpf-core.git] / gradle / ide-support.gradle
1 apply plugin: "eclipse"
2
3 eclipse {
4     group = "JPF IDE Support"
5
6     project {
7         natures = ["org.eclipse.buildship.core.gradleprojectnature"]
8     }
9     classpath {
10         defaultOutputDir = buildDir
11         file {
12             whenMerged { classpath ->
13                 classpath.entries.findAll{ entry -> entry.kind == "src" }*.every { srcNode ->
14                     srcNode.output = srcNode.output.replace("bin", "${buildDir.name}")
15                 }
16             }
17         }
18     }
19 }