overte/android/build.gradle
2017-11-28 11:32:32 -08:00

49 lines
996 B
Groovy

buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
}
}
allprojects {
repositories {
jcenter()
google()
}
}
task setupDependencies(type: Copy) {
from HIFI_ANDROID_PRECOMPILED + '/jni/arm64-v8a'
into 'app/src/main/jniLibs/arm64-v8a'
}
apply from: 'setupQt.gradle'
setupDependencies.dependsOn setupQt
apply from: 'setupScribe.gradle'
setupDependencies.dependsOn setupScribe
apply from: 'setupOpenSSL.gradle'
setupDependencies.dependsOn setupOpenSSL
apply from: 'setupTBB.gradle'
setupDependencies.dependsOn setupTBB
apply from: 'setupGVR.gradle'
setupDependencies.dependsOn setupGVR
task copyDependencies(type: Copy) {
from HIFI_ANDROID_PRECOMPILED + '/jni/arm64-v8a'
into 'app/src/main/jniLibs/arm64-v8a'
}
task cleanDependencies(type: Delete) {
delete HIFI_ANDROID_PRECOMPILED
}
task clean(type: Delete) {
delete rootProject.buildDir
}