Baritone AI pathfinder

Baritone AI pathfinder

72.7k Downloads

Unable to compile

Dasupergrasskakjd opened this issue ยท 1 comments

commented

Some information

Operating system: Windows 11
Java version: 1.8.0_411
Minecraft version: 1.20.4
Baritone version: Branch 1.20.4
Other mods (if used): N/A

Exception, error or logs

> Task :buildSrc:compileJava FAILED
Watching 1 directory hierarchies to track changes
Caching disabled for task ':buildSrc:compileJava' because:
  Build cache is disabled
Task ':buildSrc:compileJava' is not up-to-date because:
  Task has failed previously.
The input changes require a full rebuild for incremental task ':buildSrc:compileJava'.
Full recompilation is required because no incremental change information is available. This is usually caused by clean builds or changing compiler arguments.
Compiling with toolchain 'C:\Program Files (x86)\Java\jdk-1.8'.
Compiling with JDK Java compiler API.
D:\Personal\downloads\Compressed\baritone-1.20.4\baritone-1.20.4\buildSrc\src\main\java\baritone\gradle\task\ProguardTask.java:98: error: cannot find symbol
        Determinizer.determinize(this.artifactPath.toString(), this.artifactUnoptimizedPath.toString(), List.of(), false);
                                                                                                            ^
  symbol:   method of()
  location: interface java.util.List
D:\Personal\downloads\Compressed\baritone-1.20.4\baritone-1.20.4\buildSrc\src\main\java\baritone\gradle\task\ProguardTask.java:254: error: cannot find symbol
        Determinizer.determinize(this.proguardOut.toString(), this.artifactApiPath.toString(), List.of(), false);
                                                                                                   ^
  symbol:   method of()
  location: interface java.util.List
D:\Personal\downloads\Compressed\baritone-1.20.4\baritone-1.20.4\buildSrc\src\main\java\baritone\gradle\task\ProguardTask.java:259: error: cannot find symbol
        Determinizer.determinize(this.proguardOut.toString(), this.artifactStandalonePath.toString(), List.of(), false);
                                                                                                          ^
  symbol:   method of()
  location: interface java.util.List
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
3 errors

FAILURE: Build failed with an exception.

How to reproduce

Download 1.20.4 branch and compile with gradlew

Modified settings

N/A

Final checklist

  • I know how to properly use check boxes
  • I have included the version of Minecraft I'm running, baritone's version and forge mods (if used).
  • I have included logs, exceptions and / or steps to reproduce the issue.
  • I have not used any OwO's or UwU's in this issue.
commented

Seems like I need to use newer java versions