I’m new to Gradle, when I was first using Buildship, I imported my project into Eclipse with Buildship, it used the default output dir
target/bin, things works so far.
However, I need to run some task before running my tests (or launching the main class), so I executed the task on the Gradle Task viewer, I thought the output of the task (generating some properties file) not under
target/bin, but it’s under
build, which is the default value of
after making them consistent, my problem solved.
here is my proposal for improving this:
project.buildDiris no custom configuration available for
- warn on the project if the value of
the other advantage is, this will make thing simple when implement the feature “Run tasks on Eclipse auto-build” in future.