Replace FG 2.0 with custom fork for Gradle 3 compatibility
This commit is contained in:
@@ -25,6 +25,13 @@ subprojects {
|
||||
exclude group: 'org.ow2.asm', module: 'asm-debug-all'
|
||||
}
|
||||
}
|
||||
configurations.classpath.resolutionStrategy.eachDependency { dep ->
|
||||
def req = dep.target
|
||||
// Substitute FG 2.0 with custom fork that works with Gradle 3
|
||||
if (req.group == 'net.minecraftforge.gradle' && req.name == 'ForgeGradle' && req.version == '2.0-SNAPSHOT') {
|
||||
dep.useTarget 'com.github.ReplayMod:ForgeGradle:dd521d0'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Thanks for wasting my time gradle...
|
||||
|
||||
Reference in New Issue
Block a user