gradlew does not build, failing on protoc

From: Александр Поволоцкий <tarkhil_at_over.ru>
Date: Sun, 05 Mar 2023 19:41:30 UTC
Hello

gradlew (4.0), building a project, fails

:extractIncludeProto UP-TO-DATE
:extractProto UP-TO-DATE
:generateProto FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all files for configuration 
':protobufToolsLocator_protoc'.
 > Could not find protoc-freebsd-x86_64.exe 
(com.google.protobuf:protoc:3.5.1-1).
   Searched in the following locations:
https://repo1.maven.org/maven2/com/google/protobuf/protoc/3.5.1-1/protoc-3.5.1-1-freebsd-x86_64.exe

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or 
--debug option to get more log output.

BUILD FAILED in 1s
3 actionable tasks: 1 executed, 2 up-to-date

Installing devel/protobuf-java did not help

What should I do?

--

Alex