Adding Android ViroAR stuff

This commit is contained in:
John Lyon-Smith
2018-03-29 15:40:37 -07:00
parent bd5cd8a0d8
commit b301bf17eb
16 changed files with 126 additions and 84 deletions

View File

@@ -94,13 +94,11 @@ def enableSeparateBuildPerCPUArchitecture = false
def enableProguardInReleaseBuilds = false
android {
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion
compileSdkVersion 25
defaultConfig {
applicationId "com.deightonar"
minSdkVersion rootProject.ext.targetSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
minSdkVersion 23
targetSdkVersion 25
versionCode 1
versionName "1.0"
ndk {
@@ -126,7 +124,7 @@ android {
variant.outputs.each { output ->
// For each separate APK per architecture, set a unique version code as described here:
// http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits
def versionCodes = ["armeabi-v7a":1, "x86":2]
def versionCodes = ["armeabi-v7a": 1, "x86": 2]
def abi = output.getFilter(OutputFile.ABI)
if (abi != null) { // null for the universal-debug, universal-release variants
output.versionCodeOverride =
@@ -134,14 +132,28 @@ android {
}
}
}
productFlavors {
}
}
dependencies {
compile fileTree(dir: "libs", include: ["*.jar"])
compile "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}"
compile "com.facebook.react:react-native:+" // From node_modules
compile project(':react-native-navigation')
compile project(':react-native-maps')
implementation fileTree(include: ['*.jar'], dir: 'libs')
api "com.android.support:appcompat-v7:25.3.1"
api 'com.facebook.react:react-native:+'
// From node_modules
api project(':react-native-navigation')
api project(':react-native-maps')
api project(':gvr_common')
api project(':arcore_client')
api project(path: ':react_viro')
api project(path: ':viro_renderer')
api 'com.google.android.exoplayer:exoplayer:r2.2.0'
api 'com.google.protobuf.nano:protobuf-javanano:3.0.0-alpha-7'
api 'com.amazonaws:aws-android-sdk-core:2.2.+'
api 'com.amazonaws:aws-android-sdk-ddb:2.2.+'
api 'com.amazonaws:aws-android-sdk-ddb-mapper:2.2.+'
api 'com.amazonaws:aws-android-sdk-cognito:2.2.+'
api 'com.amazonaws:aws-android-sdk-cognitoidentityprovider:2.2.+'
}
// Run this once to be able to run the application with BUCK