Library importing Library doesnt work

I am currently blocked with a development where I decided the following structure:

CodeRepo ↔ Lib with metadata ↔ Lib with business logic functions

THE PROBLEM IS:

CodeRepo <-WORKS-> Lib with metadata <-DONT WORK-> Lib with business logic functions

When I try to install inside the lib with metadata the second lib:

  • I can find it and install it without any problem,
  • but then if I refresh the page and “reconnect the workspace” Im getting errors and I cannot call any of the functions allocated in the lib with business logic.

And start getting the following error:

Does Palantir foundry have any limitations interconnecting libs? Is there any specific flag I need to enable in gradle.properties to do it?