baritone icon indicating copy to clipboard operation
baritone copied to clipboard

Task :fabric:proguard FAILED

Open realhackcraft opened this issue 3 years ago • 13 comments

What do you need help with?

I have the error

> Task :fabric:proguard
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

> Task :fabric:proguard FAILED

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.

When building the version 1.19.1 of baritone.

I have IntelliJ IDEA with java SDK 17.

Steps I took

  • Download baritone 1.19.1
  • Open Gradle tab
  • Click baritone > Tasks > build > build
  • Error!

Screenshot:

Error

Final checklist

  • [x] I know how to properly use check boxes
  • [x] I have not used any OwO's or UwU's in this issue.

realhackcraft avatar Aug 09 '22 23:08 realhackcraft

if you've had other versions of baritone in there it probably has a old version of proguard cached, try deleting the proguard folder under the build folder (or just the whole build folder) and trying again

wagyourtail avatar Aug 10 '22 00:08 wagyourtail

if you've had other versions of baritone in there it probably has a old version of proguard cached, try deleting the proguard folder under the build folder (or just the whole build folder) and trying again

Where is the build folder? is the the buildScr folder or the individual build folder under common, fabric, and forge?

realhackcraft avatar Aug 10 '22 00:08 realhackcraft

Do I delete proguard.pro from scripts/proguard.pro

realhackcraft avatar Aug 10 '22 00:08 realhackcraft

run gradlew clean should auto do it

wagyourtail avatar Aug 10 '22 01:08 wagyourtail

The jar file should be in the dist folder.

scorbett123 avatar Aug 10 '22 13:08 scorbett123

is it like fabric/build/libs/baritone-fabric-1.9.0-local.jar ?

realhackcraft avatar Aug 10 '22 13:08 realhackcraft

Nope in the dist/ folder all versions should be listed

scorbett123 avatar Aug 10 '22 13:08 scorbett123

can you provide a relative path to the folder?

realhackcraft avatar Aug 10 '22 13:08 realhackcraft

Or can you give me a screenshot of the folder?

realhackcraft avatar Aug 10 '22 13:08 realhackcraft

Or can you give me a screenshot of the folder?

On a phone right now, and won't have access to my computer for a week, however it is baritone/dist after you've run ./gradlew build.

If someone else could provide a screenshot I'd appreciate it.

scorbett123 avatar Aug 10 '22 13:08 scorbett123

Or can you give me a screenshot of the folder?

On a phone right now, and won't have access to my computer for a week, however it is baritone/dist after you've run ./gradlew build.

If someone else could provide a screenshot I'd appreciate it. Screen Shot 2022-08-10 at 10 01 48 AM I cannot find the said file in the directories you specified. However, I did get the configuration Minecraft Client (:fabric) to work.

realhackcraft avatar Aug 10 '22 14:08 realhackcraft

When I search in baritone-1.19.1 folder(on mac), I find that such folder did not exist Screen Shot 2022-08-10 at 11 19 45 AM .

realhackcraft avatar Aug 10 '22 15:08 realhackcraft

@wagyourtail is the dist folder no longer created?

scorbett123 avatar Aug 10 '22 18:08 scorbett123

No it should be there.

wagyourtail avatar Aug 10 '22 20:08 wagyourtail