Open verityw opened 5 months ago
I found that I had a cached copy of the requisite jar file, which I am hosting on GitHub here: https://github.com/verityw/MixinGradle-dcfaf61
After cloning, in the build.gradle file, add this to the repositories{}
section:
maven {
url 'file:/path/to/that/repo'
}
Then, change the classpath for MixinGradle to:
classpath('MixinGradle-dcfaf61:MixinGradle:dcfaf61'){ // 0.6
// Because forgegradle requires 6.0 (not -debug-all) while mixingradle depends on 5.0
// and putting mixin right here will place it before forge in the class loader
exclude group: 'org.ow2.asm', module: 'asm-debug-all'
}
Hopefully the actual URL gets fixed soon though!
This one also do the trick with official spongepowerd
artifacts
(dcfaf61
seems to equivalent to 0.6-SNAPSHOT
)
repositories {
maven { url 'https://repo.spongepowered.org/repository/maven-public/' }
}
dependencies {
classpath('org.spongepowered:mixingradle:0.6-SNAPSHOT'){ // 0.6
// Because forgegradle requires 6.0 (not -debug-all) while mixingradle depends on 5.0
// and putting mixin right here will place it before forge in the class loader
exclude group: 'org.ow2.asm', module: 'asm-debug-all'
}
I am using MineDojo and MineRL. The two of them share a part of the
build.gradle
code, specifically:However, when running MineDojo's
validate_install.py
script or trying to download / build MineRL, it yields:Has the repo for
com.github.SpongePowered:MixinGradle:dcfaf61
been changed or something? How can I fix this?