Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update ios and android builds #137

Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
buildscript {
ext.kotlin_version = '1.6.21'
ext.kotlin_version = '1.8.21'
repositories {
mavenCentral()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.4.2'
classpath 'com.android.tools.build:gradle:8.2.0'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.21"
}
}

Expand Down
8 changes: 5 additions & 3 deletions android/code-samples/ARBlackPanther/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@ apply plugin: 'com.android.library'

android {
compileSdkVersion 31
namespace "com.example.virosample.blackPanther"

defaultConfig {
minSdkVersion 24
targetSdkVersion 31
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
ndkVersion = "25.2.9519653"
ndk {
abiFilters "arm64-v8a", "armeabi-v7a", "x86", "armeabi", "mips"
}
Expand All @@ -31,8 +33,8 @@ android {

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.3.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
implementation 'androidx.appcompat:appcompat:1.0.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
testImplementation 'junit:junit:4.13.2'
api project(':code-samples:gvr_common')
Expand All @@ -43,5 +45,5 @@ dependencies {
codeImplementation (project(path: ':virocore')) {
transitive = false
}
implementation 'com.google.protobuf.nano:protobuf-javanano:3.2.0rc2'
implementation 'com.google.protobuf.nano:protobuf-javanano:3.0.0-alpha-7'
}
8 changes: 5 additions & 3 deletions android/code-samples/ARHelloWorldAndroid/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@ apply plugin: 'com.android.library'

android {
compileSdkVersion 31
namespace "com.example.virosample.hello"

defaultConfig {
minSdkVersion 24
targetSdkVersion 31
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
ndkVersion = "25.2.9519653"
ndk {
abiFilters "arm64-v8a", "armeabi-v7a", "x86", "armeabi", "mips"
}
Expand Down Expand Up @@ -35,8 +37,8 @@ android {

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.3.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
implementation 'androidx.appcompat:appcompat:1.0.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
testImplementation 'junit:junit:4.13.2'
api project(':code-samples:gvr_common')
Expand All @@ -47,5 +49,5 @@ dependencies {
codeImplementation (project(path: ':virocore')) {
transitive = false
}
implementation 'com.google.protobuf.nano:protobuf-javanano:3.2.0rc2'
implementation 'com.google.protobuf.nano:protobuf-javanano:3.0.0-alpha-7'
}
12 changes: 7 additions & 5 deletions android/code-samples/ARPlacingObjects/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@ apply plugin: 'kotlin-android'

android {
compileSdkVersion 31
namespace "com.example.virosample.placingObjects"

defaultConfig {
minSdkVersion 24
targetSdkVersion 31
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
ndkVersion = "25.2.9519653"
ndk {
abiFilters "arm64-v8a", "armeabi-v7a", "x86", "armeabi", "mips"
}
Expand Down Expand Up @@ -42,9 +44,9 @@ android {

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.3.1'
implementation 'androidx.appcompat:appcompat:1.0.0'
implementation 'com.google.android.material:material:1.6.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
testImplementation 'junit:junit:4.13.2'
api project(':code-samples:gvr_common')
Expand All @@ -55,7 +57,7 @@ dependencies {
codeImplementation (project(path: ':virocore')) {
transitive = false
}
implementation 'com.google.protobuf.nano:protobuf-javanano:3.2.0rc2'
implementation "androidx.core:core-ktx:1.6.0"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'com.google.protobuf.nano:protobuf-javanano:3.0.0-alpha-7'
implementation "androidx.core:core-ktx:1.8.0"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.8.21"
}
8 changes: 5 additions & 3 deletions android/code-samples/ARRetail/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@ apply plugin: 'com.android.library'

android {
compileSdkVersion 31
namespace "com.example.virosample.retail"

defaultConfig {
minSdkVersion 24
targetSdkVersion 31
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
ndkVersion = "25.2.9519653"
ndk {
abiFilters "arm64-v8a", "armeabi-v7a", "x86", "armeabi", "mips"
}
Expand All @@ -31,8 +33,8 @@ android {
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.recyclerview:recyclerview:1.2.1'
implementation 'androidx.appcompat:appcompat:1.3.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
implementation 'androidx.appcompat:appcompat:1.0.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
testImplementation 'junit:junit:4.13.2'
api project(':code-samples:gvr_common')
Expand All @@ -43,5 +45,5 @@ dependencies {
codeImplementation (project(path: ':virocore')) {
transitive = false
}
implementation 'com.google.protobuf.nano:protobuf-javanano:3.2.0rc2'
implementation 'com.google.protobuf.nano:protobuf-javanano:3.0.0-alpha-7'
}
8 changes: 5 additions & 3 deletions android/code-samples/ARTesla/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@ apply plugin: 'com.android.library'

android {
compileSdkVersion 31
namespace "com.example.virosample.tesla"

defaultConfig {
minSdkVersion 24
targetSdkVersion 31
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
ndkVersion = "25.2.9519653"
ndk {
abiFilters "arm64-v8a", "armeabi-v7a", "x86", "armeabi", "mips"
}
Expand All @@ -30,8 +32,8 @@ android {

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.3.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
implementation 'androidx.appcompat:appcompat:1.0.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
testImplementation 'junit:junit:4.13.2'
api project(':code-samples:gvr_common')
Expand All @@ -43,5 +45,5 @@ dependencies {
codeApi (project(path: ':virocore')) {
transitive = false
}
implementation 'com.google.protobuf.nano:protobuf-javanano:3.2.0rc2'
implementation 'com.google.protobuf.nano:protobuf-javanano:3.0.0-alpha-7'
}
2 changes: 1 addition & 1 deletion android/code-samples/arcore_client/build.gradle
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configurations.maybeCreate("default")
artifacts.add("default", file('core-1.26.0.aar'))
artifacts.add("default", file('core-1.41.0.aar'))
Binary file removed android/code-samples/arcore_client/core-1.26.0.aar
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion android/code-samples/gvr_common/build.gradle
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configurations.maybeCreate("default")
artifacts.add("default", file('sdk-common-1.130.0.aar'))
artifacts.add("default", file('sdk-common-1.180.0.aar'))
Binary file not shown.
Binary file not shown.
Binary file modified android/gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading
Loading