Skip to content

Commit

Permalink
java upgrades
Browse files Browse the repository at this point in the history
  • Loading branch information
laves committed Dec 23, 2023
1 parent f943f08 commit 618cfc7
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 16 deletions.
6 changes: 2 additions & 4 deletions android/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
VoiceProcessor_kotlinVersion=1.7.0
VoiceProcessor_minSdkVersion=21
VoiceProcessor_targetSdkVersion=31
VoiceProcessor_compileSdkVersion=31
VoiceProcessor_ndkversion=21.4.7075529
VoiceProcessor_targetSdkVersion=33
VoiceProcessor_compileSdkVersion=33
4 changes: 1 addition & 3 deletions example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,7 @@ def reactNativeArchitectures() {
}

android {
ndkVersion rootProject.ext.ndkVersion

compileSdkVersion rootProject.ext.compileSdkVersion
compileSdk rootProject.ext.compileSdkVersion

namespace "ai.picovoice.reactnative.voiceprocessorexample"
defaultConfig {
Expand Down
13 changes: 5 additions & 8 deletions example/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,17 @@

buildscript {
ext {
buildToolsVersion = "31.0.0"
buildToolsVersion = "30.0.3"
minSdkVersion = 21
compileSdkVersion = 31
targetSdkVersion = 31

// We use NDK 23 which has both M1 support and is the side-by-side NDK version from AGP.
ndkVersion = "23.1.7779620"
compileSdkVersion = 33
targetSdkVersion = 33
}
repositories {
google()
mavenCentral()
}
dependencies {
classpath("com.android.tools.build:gradle:7.3.1")
classpath("com.facebook.react:react-native-gradle-plugin")
classpath 'com.android.tools.build:gradle:7.4.2'
classpath 'com.facebook.react:react-native-gradle-plugin'
}
}
2 changes: 1 addition & 1 deletion example/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.5.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit 618cfc7

Please sign in to comment.