#TJBot graddle commit error
1 messages · Page 1 of 1 (latest)
<@&987246924425994290> please have a look, thanks.
Here is an AI assisted attempt to answer your question 🤖. Maybe it helps! In any case, a human is on the way 👍. To continue talking to the AI, you can use </chatgpt:1108714622413963314>.
One common error when trying to commit changes to a GitHub repository using Gradle is forgetting to add the changed files to the staging area before committing. Make sure to run "git add ." or "git add <file>" to stage your changes before running "git commit".
Another issue could be related to permissions or authentication errors. Double-check that you have the necessary permissions to push changes to the repository and that you are authenticated with the correct GitHub account.
If you are still experiencing issues, try running "gradle clean build" before attempting to commit your changes. This will ensure that your project is in a clean state and all dependencies are up-to-date.
If all else fails, try resetting your local repository by running "git reset --hard HEAD" and then pulling the latest changes from the remote repository using "git pull". This will ensure that your local repository is in sync with the remote repository before pushing your changes.
By following these steps and being mindful of common errors, you should be able to successfully commit your changes using Gradle in your TJBot project.
@errant sigil
Can you share the error?
I'll take a look, probably just better off deleting it and restarting at this point
#tjbot-discussion message
[develop 7c931ae] WIP
1 file changed, 6 insertions(+)
**Applying spotless**
Starting a Gradle Daemon (subsequent builds will be faster)
> Task :buildSrc:extractPluginRequests UP-TO-DATE
> Task :buildSrc:generatePluginAdapters UP-TO-DATE
> Task :buildSrc:compileJava UP-TO-DATE
> Task :buildSrc:compileGroovy NO-SOURCE
> Task :buildSrc:compileGroovyPlugins FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':buildSrc:compileGroovyPlugins'.
> BUG! exception in phase 'semantic analysis' in source unit 'precompiled_DatabaseSettings' Unsupported class file major version 67
* Try:
> 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 12s
4 actionable tasks: 1 executed, 3 up-to-date```
as i deleted the directory i saw that there was some build files outside of the tjbot directory
that might've been causing some issues