Please consider a minor fix
Closed this issue · 1 comments
TonySFU commented
Hi Bruce,
I was using VSCode on Mac and try to gradlew
build this pkg. Somehow VSCode create a .settings
dir and cause a build failure.
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':.settings'.
> The project name '.settings' must not start or end with a '.'. Set the 'rootProject.name' or adjust the 'include' statement (see https://docs.gradle.org/6.8.1/dsl/org.gradle.api.initialization.Settings.html#org.gradle.api.initialization.Settings:include(java.lang.String[]) for more details).
it took me couple hours to find and fix this problem.
Please consider use !file.name.startsWith('.')
to avoid this problem
OnJava8-Examples/settings.gradle
Lines 3 to 5 in d97d374
Thanks,
Tony
BruceEckel commented
Try it now.