explicitly set the version of oc2r-native-networking to download

We plan to change the ABI of the native library soon, and if the build
can only download the latest version, it will be impossible to build
commits before the change once the release goes through.  This will mess
with anymore maintaining a fork based on an older version.

Updates to the native networking module will probobly be extremely
uncommon anyway, so I don't see having to manually bump the version
being a major hassle.
This commit is contained in:
Un1q32
2025-04-25 21:16:40 -04:00
parent 8c4fb05bec
commit 720ada11fe

View File

@@ -145,7 +145,7 @@ tasks.register("downloadNativeLibs") {
group = "build setup"
doLast {
def repo = "North-Western-Development/oc2r-native-networking"
def baseUrl = "https://github.com/${repo}/releases/latest/download/"
def baseUrl = "https://github.com/${repo}/releases/download/1.0.1"
def targets = [
"macos/liboc2rnet-x86_64.dylib",