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
91 stars 18 forks source link

Failed to read version manifest in 0.2, but not on 0.1 #76

Closed StartsMercury closed 2 years ago

StartsMercury commented 2 years ago

Original Failing Script

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

repositories {
    mavenCentral()
}

dependencies {
    // my dependencies
}

minecraft.version '1.18.2'
FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':project:name'.
> 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 1s

Working Script - Using VanillaGradle 0.1

plugins {
    id 'java-library'
    id 'org.spongepowered.gradle.vanilla' version '0.1'
}

repositories {
    mavenCentral()
}

dependencies {
    // my dependencies
}

minecraft.version '1.18.2'
> Configure project :project:name
SpongePowered Vanilla 'GRADLE' Toolset Version '0.1'
Targeting Minecraft '1.18.2' on a 'JOINED' platform

> Task :common:nothing UP-TO-DATE

BUILD SUCCESSFUL in 2s