mouse0w0 / forge-mixin-example

An example for using Mixin in Minecraft Forge 1.12.2 & 1.8.9
The Unlicense
116 stars 20 forks source link

Could not find mixingradle.jar (org.spongepowered:mixingradle:0.7-SNAPSHOT). #16

Closed 12345-mcpython closed 1 year ago

12345-mcpython commented 1 year ago

Platform: Windows Log: PS E:\code\java\delete-silverfish> .\gradlew

Welcome to Gradle 4.10.3!

Here are the highlights of this release:

For more details see https://docs.gradle.org/4.10.3/release-notes.html

To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/4.10.3/userguide/gradle_daemon.html. Daemon will be stopped at the end of the build stopping after processing

FAILURE: Build failed with an exception.

BUILD FAILED in 5s

mouse0w0 commented 1 year ago

Please check your network config, use proxy in Gradle.

12345-mcpython commented 1 year ago

It isn't the network problem. When I opened https://maven.minecraftforge.net/org/spongepowered/mixingradle/0.7-SNAPSHOT/mixingradle-0.7-SNAPSHOT.jar, it returned 404.

mouse0w0 commented 1 year ago

Reorder repositories and try again.

buildscript {
    repositories {
        maven { url = 'https://repo.spongepowered.org/maven' } // Move it before forge repository.
        maven { url = 'https://files.minecraftforge.net/maven' }
        mavenCentral()
    }
    dependencies {
        classpath 'net.minecraftforge.gradle:ForgeGradle:3.+'
        classpath 'org.spongepowered:mixingradle:0.7-SNAPSHOT'
    }
}
12345-mcpython commented 1 year ago

OK. It work.