SpongePowered / VanillaGradle

A toolchain for Minecraft: Java Edition that builds a workspace to interact with the game using the official mappings provided to the public by Mojang Studios.
MIT License
87 stars 18 forks source link

Failed to read version manifest #101

Closed ThatBlockyPenguin closed 1 year ago

ThatBlockyPenguin commented 1 year ago

My build.gradle is as follows:

plugins {
    id 'java'
    id 'org.spongepowered.gradle.vanilla' version '0.2-SNAPSHOT'
}

minecraft {
    version '1.19.3'
    platform 'SERVER'
    runs {
        server()
    }
}

tasks.withType(JavaCompile).configureEach {
    it.options.release = 17
}

compileJava.options.encoding = 'UTF-8'

However, attempting to compile throws this error:

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'BarrelMC'.
> Failed to read version manifest

* 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

CONFIGURE FAILED in 737ms

I saw a separate issue where it was stated that to fix this, you needed to use the 0.2-SNAPSHOT version, however, as you can see, I am doing that here. What's happening?

zml2008 commented 1 year ago

0.2.1-SNAPSHOT