when i try to compile my plugin with build.gradle....
# community-support
k
when i try to compile my plugin with build.gradle.kts this error comes how do i fix it?
n
First: please no screenshots of error message, they aren't helpful at all. Please provide a code snippet instead. You will have to look in the build logs at what the actual compile error is (you'll have to scroll up for that) and fix it.
k
should i send my build.gradle.kts so you can see whats wrong?
n
no, as the error message says, it fails to compile, so the error is in your code
k
in build.gradle.kts?
but i cant seem to find what the error is there
n
it's not in the build script, it's in the code that the build is trying to compile. Have you actually scrolled up and read the build logs in search of the compilation error?
k
nope
n
well, best to start there 😉
k
alright will try to
i couldnt find it
should i send the whole log when i try to ./gradlew build -P 1.21
or the github plugin the plugin i am trying to compile
so you could check it out
n
can you run with
--scan
and share the build scan link?
k
alright
and? did you find the problem?
n
Where is the build scan?
k
here
n
You should probably go ask in the community for whatever minecraft thing you're using on how to get up and running. This is not a gradle issue.
k
the creator of this left the plugin so he doesnt answer
so
okay then
thank you for trying to help
👍 1