Anuken / Mindustry

The automation tower defense RTS
https://mindustrygame.github.io
GNU General Public License v3.0
22.82k stars 2.99k forks source link

How to calculate archash? #10304

Closed mahdoosh1 closed 3 weeks ago

mahdoosh1 commented 3 weeks ago

Platforms

Windows

Build

146.1

Issue

When trying to comple using gradlew it spits out an error, previously someone told me to change archash in gradle.properties it is just a work around but now it doesnt work anymore

Steps to reproduce

run gradlew android:assembleDebug while Android SDK and Java 16 is installed and configured

Mods used

No response

Save file

No response

(Crash) logs

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'Mindustry-146'.
> Could not resolve all files for configuration ':classpath'.
   > Could not find com.github.Anuken.Arc:packer:c1005a3111.
     Searched in the following locations:
       - file:/C:/Users/[REDACTED]/.m2/repository/com/github/Anuken/Arc/packer/c1005a3111/packer-c1005a3111.pom
       - https://repo.maven.apache.org/maven2/com/github/Anuken/Arc/packer/c1005a3111/packer-c1005a3111.pom
       - https://dl.google.com/dl/android/maven2/com/github/Anuken/Arc/packer/c1005a3111/packer-c1005a3111.pom
       - https://oss.sonatype.org/content/repositories/snapshots/com/github/Anuken/Arc/packer/c1005a3111/packer-c1005a3111.pom
       - https://jitpack.io/com/github/Anuken/Arc/packer/c1005a3111/packer-c1005a3111.pom
       - https://plugins.gradle.org/m2/com/github/Anuken/Arc/packer/c1005a3111/packer-c1005a3111.pom
     Required by:
         project :
   > Could not find com.github.Anuken.Arc:arc-core:c1005a3111.
     Searched in the following locations:
       - file:/C:/Users/[REDACTED]/.m2/repository/com/github/Anuken/Arc/arc-core/c1005a3111/arc-core-c1005a3111.pom
       - https://repo.maven.apache.org/maven2/com/github/Anuken/Arc/arc-core/c1005a3111/arc-core-c1005a3111.pom
       - https://dl.google.com/dl/android/maven2/com/github/Anuken/Arc/arc-core/c1005a3111/arc-core-c1005a3111.pom
       - https://oss.sonatype.org/content/repositories/snapshots/com/github/Anuken/Arc/arc-core/c1005a3111/arc-core-c1005a3111.pom
       - https://jitpack.io/com/github/Anuken/Arc/arc-core/c1005a3111/arc-core-c1005a3111.pom
       - https://plugins.gradle.org/m2/com/github/Anuken/Arc/arc-core/c1005a3111/arc-core-c1005a3111.pom
     Required by:
         project :

* 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

BUILD FAILED in 25s

Submission

JasonP01 commented 3 weeks ago

Archash is the short commit hash of the lastest arc commit

JasonP01 commented 3 weeks ago

Also not a bug

camelStyleUser commented 3 weeks ago

ok so first fake version second not an issue(yes jitpack kills old builds what are you going to do) third archash is well arc commit hash(makes sense yk)

mahdoosh1 commented 3 weeks ago

Also not a bug

it is an issue

mahdoosh1 commented 3 weeks ago

Archash is the short commit hash of the lastest arc commit

thank you, let me check

mahdoosh1 commented 3 weeks ago

yeah it works