Task 'setupDecompWorkspace' not found in root project 'baritone'.
realhackcraft opened this issue · 10 comments
Some information
Operating system: MacOsX 10.15.6
Java version: 17
Bariton branch: 1.19.1
How to reproduce
Download baritone 1.19.1
cd Downloads/baritone-1.19.1
Run ./gradlew setupDecompWorkspace
Get console output:
FAILURE: Build failed with an exception.
* What went wrong:
Task 'setupDecompWorkspace' not found in root project 'baritone'.
How to reproduce(IntelliJ IDEA)
Download baritone 1.19.1
Click File > open
Select build.gradle
Click Open as Project
Click elephant(gradle tab opens)
(Cannot see setupDecompWorkspace
)
Project settings
Java SDK: 17
Project language level: SDK default (17 Sealed types, always-strict floating-point semantics)
Build, Execution, Deployment > Build Tools > Gradle > Gradle JVM: Project SDK 17
Final checklist
- I have brain cells.
- 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.
- I am very cool(if applicable).
might have to uncheck I have brain cells.
, if you just skip that step it all works
might have to uncheck
I have brain cells.
, if you just skip that step it all works
If you meant using java 8, I tried but it says
> Failed to apply plugin 'dev.architectury.loom'.
> You are using an outdated version of Java (8). Java 17 or higher is required.
and
> Failed to notify project evaluation listener.
> net/fabricmc/loom/util/service/SharedServiceManager has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❯ export JAVA_HOME=$(/usr/libexec/java_home -v 17)
❯ ./gradlew setupDecompWorkspace
gets error
FAILURE: Build failed with an exception.
* What went wrong:
Task 'setupDecompWorkspace' not found in root project 'baritone'.
as I said with that, skip the setupDecompWorkspace step,
if you just want to build it, you know there's github actions autobuilding, right?
@wagyourtail I now get this error in IntelliJ:
> Task :fabric:proguard FAILED
Running Determinizer
Input path: /Users/Hackcraft_/Downloads/baritone-1.19.1/fabric/build/libs/baritone-fabric-1.9.0-local.jar
Output path: /Users/Hackcraft_/Downloads/baritone-1.19.1/fabric/build/libs/baritone-fabric-unoptimized-1.9.0-local.jar
Execution failed for task ':fabric:proguard'.
> Proguard exited with code 1
* 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.