but nothing was happening. After trying a lot of different things I happened to move that code after a apply plugin: 'java' statement I had in my script, and it started working.
Is it intentional that this only works with the Java plugin applied, and is there anywhere that Buildship's special handling of eclipse.classpath.file is documented?
I needed to modify Eclipse's classpath, so I was trying to use
but nothing was happening. After trying a lot of different things I happened to move that code after a
apply plugin: 'java'
statement I had in my script, and it started working.Is it intentional that this only works with the Java plugin applied, and is there anywhere that Buildship's special handling of
eclipse.classpath.file
is documented?Related: https://discuss.gradle.org/t/how-does-buildship-create-the-classpath-file-for-eclipse/26252 https://github.com/eclipse/buildship/issues/923 possibly https://github.com/eclipse/buildship/issues/1133