Only replace FG2.1 when not a reprod build

This commit is contained in:
Jonas Herzig
2018-02-28 21:12:50 +01:00
parent 2fa2d2f745
commit da6d9e8167

View File

@@ -26,6 +26,7 @@ subprojects {
}
}
configurations.classpath.resolutionStrategy.eachDependency { dep ->
if (System.getenv('REPRODUCIBLE_BUILD') == '1') return
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') {