Hello. I'm using Fleet and Amper for Advent of Cod...
# amper
m
Hello. I'm using Fleet and Amper for Advent of Code and it suddenly stopped doing builds (or anything else Gradle related). I'm starting to get this output when trying to do a run, build, or reload Gradle changes. These operations also don't work from the CLI or in IDEA. Any ideas? Has anyone else seen this? Thank you!
a
Hi! Can you please provide your module file? Also, do you have any kind of symlinks or other file references?
m
Hello, @Alexander Tsarev; I've attached my module file. It's only one line. The repo I'm using can be found here: https://github.com/michael-taylor/aoc-kotlin-2023. I just learned that if I check out the repo on a different computer, it works fine. So, I think something in my local Gradle cache must have gotten corrupted. Is there a list of Gradle directories I should delete to see if that helps? Thank you!
👀 1
a
Generally, invoking
gradle clean
and removing
.gradle
should do the trick.
m
I tried that and I still get an error. Is there a global Gradle cache that could have gotten corrupted? Thank you!
Copy code
╭─   ~\Projects\IdeaProjects\aoc\aoc-kotlin-2023  main   ERROR                                                              Micha@Inspiron16 
╰─ rmdir .\.gradle

Confirm
The item at C:\Users\Micha\Projects\IdeaProjects\aoc\aoc-kotlin-2023\.gradle has children and the Recurse parameter was not specified. If you
continue, all children will be removed with the item. Are you sure you want to continue?
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "Y"): a
╭─   ~\Projects\IdeaProjects\aoc\aoc-kotlin-2023  main                                                                      Micha@Inspiron16 
╰─ ls

    Directory: C:\Users\Micha\Projects\IdeaProjects\aoc\aoc-kotlin-2023

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* What went wrong:
A problem occurred configuring root project 'aoc-kotlin-2023'.
> Failed to notify project evaluation listener.
   > C:\Users\Micha\Projects\IdeaProjects\aoc\aoc-kotlin-2023\src\

* 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>.
==============================================================================

2: Task failed with an exception.
-----------
* What went wrong:
Failed to query the value of property 'buildFlowServiceProperty'.
> Could not isolate value org.jetbrains.kotlin.gradle.plugin.statistics.BuildFlowService$Parameters_Decorated@26b3116e of type BuildFlowService.Parameters
   > A problem occurred configuring root project 'aoc-kotlin-2023'.
      > Failed to notify project evaluation listener.
         > C:\Users\Micha\Projects\IdeaProjects\aoc\aoc-kotlin-2023\src\

* 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>.
==============================================================================

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to <https://docs.gradle.org/8.5/userguide/command_line_interface.html#sec:command_line_warnings> in the Gradle documentation.

BUILD FAILED in 6s
Some of the command output from "gradlew clean" was lost above. Here it is again:
Copy code
./gradlew clean

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* What went wrong:
A problem occurred configuring root project 'aoc-kotlin-2023'.
> Failed to notify project evaluation listener.
   > C:\Users\Micha\Projects\IdeaProjects\aoc\aoc-kotlin-2023\src\

* 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>.
==============================================================================

2: Task failed with an exception.
-----------
* What went wrong:
Failed to query the value of property 'buildFlowServiceProperty'.
> Could not isolate value org.jetbrains.kotlin.gradle.plugin.statistics.BuildFlowService$Parameters_Decorated@43c315 of type BuildFlowService.Parameters
   > A problem occurred configuring root project 'aoc-kotlin-2023'.
      > Failed to notify project evaluation listener.
         > C:\Users\Micha\Projects\IdeaProjects\aoc\aoc-kotlin-2023\src\

* 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>.
==============================================================================

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to <https://docs.gradle.org/8.5/userguide/command_line_interface.html#sec:command_line_warnings> in the Gradle documentation.

BUILD FAILED in 673ms