Downloading MixinGradle dcfaf61
There are several ways to obtain the com.github.SpongePowered:MixinGradle:dcfaf61 dependency which has been reported to have availability issues from standard repositories.
Using a Hosted Alternative
A community member has created a GitHub repository containing the required JAR file. To use this solution:
- Clone the repository:
git clone https://github.com/verityw/MixinGradle-dcfaf61
- Modify your build.gradle file to include the following repository:
repositories {
maven { url 'file://path/to/cloned/MixinGradle-dcfaf61' }
}
- Change your dependency declaration to:
classpath 'com.github.SpongePowered:MixinGradle:dcfaf61'
Using a Different Version
If you're not specifically required to use the dcfaf61 commit, you can use a newer version of MixinGradle:
buildscript {
repositories {
maven { url 'https://repo.spongepowered.org/maven/' }
}
dependencies {
classpath 'org.spongepowered:mixingradle:0.7.38'
}
}
Make sure to use the correct version for your ForgeGradle version[1]:
| ForgeGradle Version | Mixin Version | MixinGradle Version To Use |
|---|
| 2.3 | 0.8 and below | 0.6-SNAPSHOT |
| 3.0+ | 0.8 | 0.7-SNAPSHOT |
Building from Source
You can also build MixinGradle from source:
- Clone the official repository:
git clone https://github.com/SpongePowered/MixinGradle.git
- Checkout the specific commit:
cd MixinGradle
git checkout dcfaf61
- Build and publish to your local Maven repository:
./gradlew publishToMavenLocal
- Reference the local Maven repository in your project:
repositories {
mavenLocal()
}
This issue appears to affect several projects including MineDojo and MineRL, where users have reported difficulties downloading this specific version of MixinGradle[3][7].