2020-06-10 18:20:11 +00:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
apply from: "${rootProject.projectDir}/VrApp.gradle"
|
|
|
|
|
|
|
|
android {
|
|
|
|
// This is the name of the generated apk file, which will have
|
|
|
|
// -debug.apk or -release.apk appended to it.
|
|
|
|
// The filename doesn't effect the Android installation process.
|
|
|
|
// Use only letters to remain compatible with the package name.
|
2020-06-28 13:41:34 +00:00
|
|
|
project.archivesBaseName = "rtcwquest"
|
2020-06-10 18:20:11 +00:00
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
// Gradle replaces the manifest package with this value, which must
|
|
|
|
// be unique on a system. If you don't change it, a new app
|
|
|
|
// will replace an older one.
|
|
|
|
applicationId "com.drbeef." + project.archivesBaseName
|
|
|
|
|
|
|
|
// override app plugin abiFilters for both 32 and 64-bit support
|
|
|
|
externalNativeBuild {
|
|
|
|
ndk {
|
|
|
|
abiFilters 'armeabi-v7a'
|
|
|
|
}
|
|
|
|
ndkBuild {
|
|
|
|
abiFilters 'armeabi-v7a'
|
|
|
|
}
|
|
|
|
}
|
2021-05-03 19:58:50 +00:00
|
|
|
minSdkVersion 26
|
2020-06-10 18:20:11 +00:00
|
|
|
targetSdkVersion 26
|
|
|
|
}
|
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
main {
|
|
|
|
manifest.srcFile 'AndroidManifest.xml'
|
|
|
|
java.srcDirs = ['../../java']
|
|
|
|
jniLibs.srcDir 'libs'
|
|
|
|
res.srcDirs = ['../../res']
|
|
|
|
assets.srcDirs = ['../../assets']
|
|
|
|
}
|
|
|
|
}
|
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility = '1.8'
|
|
|
|
targetCompatibility = '1.8'
|
|
|
|
}
|
2021-05-03 19:58:50 +00:00
|
|
|
compileSdkVersion = 26
|
2020-06-10 18:20:11 +00:00
|
|
|
buildToolsVersion = '29.0.1'
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2021-05-03 19:58:50 +00:00
|
|
|
implementation "com.android.support:support-compat:26.1.0"
|
|
|
|
implementation "com.android.support:support-core-utils:26.1.0"
|
|
|
|
implementation fileTree(dir: 'libs', include: ['*.jar', '*.aar'])
|
2020-06-10 18:20:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
google()
|
|
|
|
}
|
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
google()
|
|
|
|
}
|
2023-03-20 20:04:30 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
task packResources(type: Zip) {
|
|
|
|
from "./z_vr_assets/"
|
|
|
|
destinationDir file("../../assets/")
|
|
|
|
archiveName "z_vr_assets.pk3"
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.matching {it.name.startsWith("assemble")}.all { Task task ->
|
|
|
|
task.dependsOn(packResources)
|
|
|
|
}
|