Open mghmay opened 2 months ago
I'm having the same issue. @mghmay I'm guessing you're also running on Windows as well? I imagine that file is supposed to be a Linux/UNIX soft link (ln -s) to reference the "root" configuration for all the samples.
As a work around, I've copied the gradle/libs.versions.toml into the various samples I want to run and it seems to work okay.
Even on Github's navigation screen, it really looks like a symbolic link icon.
In my opinion, it would be beneficial to specify the relative path of the toml file in the "settings.gradle" file of each sub-example project. This approach would ensure compatibility with OS environments other than Linux/UNIX, where symbolic links are not available.
dependencyResolutionManagement {
versionCatalogs {
libs {
from(files("../../../gradle/libs.versions.toml"))
}
}
}
All I'm trying to do is run the sample and see it working. When I open up servlet/spring-boot/java/oauth2/login and try to run it I get an error stating:
When I open up the libs.versions.toml I can clearly see the problem:
../../../../../../gradle/libs.versions.toml
This isn't formatted correctly but I have no idea what this libs.versions.toml file actually does. Please help new users by formatting this correctly.