[root@Daley-DB grpc-plugin]# ./gradlew gem
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.2/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build
FAILURE: Build failed with an exception.
* What went wrong:
Task 'gem' not found in root project 'logstash'.
* Try:
Run gradlew tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 38s
The question is that when i run this command from the command line
./gradlew gem
I get that error that gem is not found in root directory ‘logstash’
and the build stops with Fail
How can i fix this to stop this error
Not really.
It tells you to invoke the gem task on that project.
But you invoke it on the logstash project.
And there as the error tells you, no such task exists.
Again.
The readme you showed does NOT say you should execute that in the logstash project, but in the project where the readme is.
In THAT projec the gem task should already be present.
You are simply currently NOT following the readme properly but execute the command in the wrong project.
to the build script and you can call that no-op task, but that will not help you in any way.
You will get rid of the error, but then you will not find the gem file in the next step as you didn’t generate it.
I have fixed that issue but now have another error message
[root@Daley-DB grpc-plugin]# ./gradlew gem
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.2/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build
FAILURE: Build failed with an exception.
* Where:
Build file '/tmp/grpc-plugin/build.gradle' line: 12
* What went wrong:
A problem occurred evaluating root project 'logstash'.
> /tmp/grpc-plugin/VERSION (No such file or directory)