SpongePowered/VanillaGradle

Failed to read version manifest

Closed this issue · 1 comments

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?

0.2.1-SNAPSHOT