Fix cradle issue on macos

pull/7/head
BoogieMonster1O1 3 years ago committed by GitHub
parent ab794353b3
commit 0183613842
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -62,6 +62,17 @@ dependencies {
modImplementation "com.github.minecraft-cursed-legacy:Cursed-Legacy-API:${project.api_version}"
}
if (System.getProperty("os.name").toLowerCase().contains("mac")) {
configurations.all {
resolutionStrategy {
dependencySubstitution {
substitute module('org.lwjgl.lwjgl:lwjgl_util:2.9.1-nightly-20130708-debug3') with module('org.lwjgl.lwjgl:lwjgl_util:2.9.4-nightly-20150209')
substitute module('org.lwjgl.lwjgl:lwjgl:2.9.1-nightly-20130708-debug3') with module('org.lwjgl.lwjgl:lwjgl:2.9.4-nightly-20150209')
}
}
}
}
processResources {
inputs.property "version", project.version

Loading…
Cancel
Save