Arthur McGibbon
Arthur McGibbon
Probably down to [this check](https://github.com/sourcegraph/scip-java/blob/ac4b5c7a0bcf11a531d2558d35b2169ff72695b5/semanticdb-gradle-plugin/src/main/scala/SemanticdbGradlePlugin.scala#L73C23-L73C48). The lombok plugin creates its own config and extends `annotationProcessor` from it [here](https://github.com/freefair/gradle-plugins/blob/f8190791026179d061e3348cbb1bd9b8394e1b9b/lombok-plugin/src/main/java/io/freefair/gradle/plugins/lombok/LombokPlugin.java#L84). It also adds to the config using `defaultDependencies` [here](https://github.com/freefair/gradle-plugins/blob/f8190791026179d061e3348cbb1bd9b8394e1b9b/lombok-plugin/src/main/java/io/freefair/gradle/plugins/lombok/LombokBasePlugin.java#L24) which doesn't add...
Ah - fair enough - I guess it may cause users to accidentally switch without realising - it was just a nice to have for me - you can close...
In my case it's access to certain tables in a test database and a custom data server. I could always spin up another test DB and another data server but...
Do you mean something like... ``` @ResourceLock("Foo", mode = ResourceAccessMode.READ) class TestClass { @ResourceLock("Foo", mode = ResourceAccessMode.READ_WRITE) public void TestMethod() { // some test } } ``` If both process...
> - or by duplicating the external resource for each module. Setting up multiple duplicate test databases is another option and probably what I'll have to do if this comes...
> That is correct. For your example the READ_WRITE will cause all tests in TestClass to be run on the same thread. Ah - and it's done this way because...
@marcphilipp I see you're ex-Gradle. The reason this issue hit me is that I enabled the Gradle configuration cache. Although it's not enabled by default, it seems like it's eventually...
This might help with semanticdb on Windows as well. Bloop clashing with Metals.... ``` java.nio.file.FileSystemException: [XXX]\bloop-bsp-clients-classes\classes-Metals-GqF3NKlrSiGqKS_brmBrFg==\META-INF\semanticdb\src\main\scala\Foo.scala.semanticdb: The process cannot access the file because it is being used by another process...