mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-07-22 19:49:18 +02:00
26 lines
702 B
Groovy
26 lines
702 B
Groovy
buildscript {
|
|
repositories {
|
|
jcenter()
|
|
google()
|
|
}
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:3.0.1'
|
|
classpath 'de.undercouch:gradle-download-task:3.3.0'
|
|
}
|
|
}
|
|
|
|
def file='bullet-2.83_armv8-libcpp.tgz '
|
|
def url='https://hifi-public.s3.amazonaws.com/austin/android/' + file
|
|
def destFile = new File(HIFI_ANDROID_PRECOMPILED, file)
|
|
|
|
task downloadBullet(type: de.undercouch.gradle.tasks.download.Download) {
|
|
src url
|
|
dest destFile
|
|
}
|
|
|
|
task extractBullet(dependsOn: downloadBullet, type: Copy) {
|
|
from tarTree(resources.gzip(destFile))
|
|
into new File(HIFI_ANDROID_PRECOMPILED, 'bullet')
|
|
}
|
|
|
|
task setupBullet(dependsOn: extractBullet) { }
|