In Buildship, the whenMerged
block does not modify the .classpath
file but the content of the Gradle classpath container (i.e. the content of the Project and External Dependencies
classpath entry, represented by <classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
).
↧
Adding a library to .classpath file in Eclipse
↧