#My computer crashed and now gradle is being weird

1 messages ยท Page 1 of 1 (latest)

barren forumBOT
#

<@&987246652869971988> please have a look, thanks.

round vessel
#

gradlew clean

#

gradlew build

blissful cypress
#

How do I clean the build?

glacial ledge
#

execute the command he showed or click on the task in the gradle window on the right of intellij

left ridge
#

Have you tried reinstalling intellij ?

glacial ledge
#

That sounds like non sense. never in my live I had to reinstall IntelliJ or seen someone suggest doing it. Max you should have to do is invalidatin the IJ cache

blissful cypress
brisk ocean
#

can you delete whatever folder it builds to? maybe also try to remove gradle cache at "~/.gradle/caches" or %USERPROFILE%\.gradle\caches equivalent for windows uwu

glacial ledge
#

Please show the whole output

brisk ocean
#

you didnt censor the 2nd line, if you care about censoring

blissful cypress
#

yeah i forgot to

#

my bad whatever

brisk ocean
#

probably try to delete the output folder or try to delete whatever is in the gradle cache

glacial ledge
#

this is the gradlew clean command?

blissful cypress
#

yeah

#

it doesn't look right

glacial ledge
#

This looks like and sounds like the class of the build file is broken

blissful cypress
#

how do I repair it?

blissful cypress
glacial ledge
#

Also, any chance you cut out some text above the error from the image?

blissful cypress
#

nope it's just the more of the same since I tried it more then once

#

it's building here can I just delete this or will that mess uo even more stuff?

brisk ocean
#

nope

#

delete the cache

#

%USERPROFILE%\.gradle\caches

#

or just the entire gradle folder at %USERPROFILE%\.gradle

glacial ledge
#

After you have deleted the gradle cache in ~/.gradle/caches and projectfolder/.gradle
Can you try once again with ./gradlew clean -s --debug and send the output.

blissful cypress
#

so I delete all of this right?

brisk ocean
#

show the path where you're at, no idea what folder that is ^^

blissful cypress
brisk ocean
#

yup just delete the caches folder itself

glacial ledge
#

wouldn't really recommend deleting the whole folder. you can also put customized stuff in there like properties files which are accessible across all projects. Also many libraries will have to be re downloaded, potentially jdks etc

brisk ocean
glacial ledge
#

well, it says what issue it is ๐Ÿ™‚

blissful cypress
#

so now i just build again and it's sorted right?

brisk ocean
#

try and see, seems promising uwu

blissful cypress
#

yeah it's all working thanks a lot!

barren forumBOT
#

@blissful cypress

Your question has been closed due to inactivity.

If it was not resolved yet, feel free to just post a message below
to reopen it, or create a new thread.

Note that usually the reason for nobody calling back is that your
question may have been not well asked and hence no one felt confident
enough answering.

When you reopen the thread, try to use your time to improve the quality
of the question by elaborating, providing details, context, all relevant code
snippets, any errors you are getting, concrete examples and perhaps also some
screenshots. Share your attempt, explain the expected results and compare
them to the current results.

Also try to make the information easily accessible by sharing code
or assignment descriptions directly on Discord, not behind a link or
PDF-file; provide some guidance for long code snippets and ensure
the code is well formatted and has syntax highlighting. Kindly read through
https://stackoverflow.com/help/how-to-ask for more.

With enough info, someone knows the answer for sure ๐Ÿ‘