1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-09-15 18:57:08 +00:00

Update deps ref

This commit is contained in:
rubenwardy 2021-10-18 18:33:25 +01:00
parent c61d8cfb85
commit e5cfdd369e
3 changed files with 236 additions and 3 deletions

View file

@ -51,16 +51,17 @@ android {
// get precompiled deps
def folder = 'minetest_android_deps_binaries'
def deps_ref = "342eb18b7512462585a33bc9eef0b68298087151"
task downloadDeps(type: Download) {
src 'https://github.com/minetest/' + folder + '/archive/master.zip'
src 'https://github.com/minetest/' + folder + '/archive/' + deps_ref + '.zip'
dest new File(buildDir, 'deps.zip')
overwrite false
}
task getDeps(dependsOn: downloadDeps, type: Copy) {
def deps = file('deps')
def f = file("$buildDir/" + folder + "-master")
def f = file("$buildDir/" + folder + "-" + deps_ref)
if (!deps.exists() && !f.exists()) {
from zipTree(downloadDeps.dest)