This repository was archived by the owner on May 6, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +12
-11
lines changed Expand file tree Collapse file tree 3 files changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ See our [ASR documentation](https://www.spokestack.io/docs/concepts/asr) for mor
182182 dependencies {
183183 // Minimium gradle is 3.0.1+
184184 // The latest React Native already has this
185- classpath("com.android.tools.build:gradle:4.1.0 ")
185+ classpath("com.android.tools.build:gradle:4.2.1 ")
186186```
187187
188188### Edit AndroidManifest.xml
Original file line number Diff line number Diff line change 11buildscript {
22 // Build script is evaluated before everything else so we can't use getExtOrDefault
3- def kotlin_version = rootProject. ext. has(' kotlinVersion' ) ? rootProject. ext. get(' kotlinVersion' ) : project. properties[' Spokestack_kotlinVersion' ]
3+ ext . kotlin_version = rootProject. ext. has(' kotlinVersion' ) ? rootProject. ext. get(' kotlinVersion' ) : project. properties[' Spokestack_kotlinVersion' ]
44
55 repositories {
66 google()
7- jcenter ()
7+ mavenCentral ()
88 }
99
1010 dependencies {
11- classpath ' com.android.tools.build:gradle:4.1.0 '
11+ classpath ' com.android.tools.build:gradle:4.2.1 '
1212 // noinspection DifferentKotlinGradleVersion
1313 classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
1414 }
@@ -47,7 +47,6 @@ android {
4747
4848repositories {
4949 mavenCentral()
50- jcenter()
5150 google()
5251
5352 def found = false
@@ -128,6 +127,8 @@ dependencies {
128127 implementation ' org.tensorflow:tensorflow-lite:2.3.0'
129128
130129 // for playback of TTS audio
131- implementation ' androidx.media:media:1.3.1'
132- implementation ' com.google.android.exoplayer:exoplayer-core:2.14.1'
130+ implementation ' androidx.media:media:1.4.1'
131+ implementation ' com.google.android.exoplayer:exoplayer-core:2.15.0'
132+ implementation " androidx.core:core-ktx:+"
133+ implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version "
133134}
Original file line number Diff line number Diff line change 1- Spokestack_kotlinVersion =1.4.21
1+ Spokestack_kotlinVersion =1.4.32
22Spokestack_kotlinxVersion =1.4.2
3- Spokestack_compileSdkVersion =28
4- Spokestack_buildToolsVersion =28 .0.3
5- Spokestack_targetSdkVersion =28
3+ Spokestack_compileSdkVersion =30
4+ Spokestack_buildToolsVersion =30 .0.2
5+ Spokestack_targetSdkVersion =30
You can’t perform that action at this time.
0 commit comments