Update AAR version in Android Java demo (#1618)

This commit is contained in:
Fangjun Kuang
2024-12-12 20:51:57 +08:00
committed by GitHub
parent e54c1f4533
commit efb505f578
2 changed files with 3 additions and 1 deletions

View File

@@ -34,5 +34,5 @@ dependencies {
implementation 'pub.devrel:easypermissions:3.0.0'
implementation 'androidx.core:core-ktx:1.7.0'
// implementation files('/Users/fangjun/open-source/sherpa-onnx/android/SherpaOnnxAar/sherpa_onnx/build/outputs/aar/sherpa_onnx-release.aar')
implementation 'com.github.k2-fsa:sherpa-onnx:master-SNAPSHOT'
implementation 'com.github.k2-fsa:sherpa-onnx:v1.10.35'
}

View File

@@ -7,6 +7,8 @@ sed -i.bak 's/1\.10\.34/1\.10\.35/g' ./pom.xml
sed -i.bak 's/1\.10\.34/1\.10\.35/g' ./jitpack.yml
sed -i.bak 's/1\.10\.34/1\.10\.35/g' ./android/SherpaOnnxAar/README.md
find android -name build.gradle -type f -exec sed -i.bak 's/sherpa-onnx:v1\.10\.34/sherpa-onnx:v1\.10\.35/g' {} \;
find flutter -name *.yaml -type f -exec sed -i.bak 's/1\.10\.34/1\.10\.35/g' {} \;
find dart-api-examples -name *.yaml -type f -exec sed -i.bak 's/1\.10\.34/1\.10\.35/g' {} \;
find flutter-examples -name *.yaml -type f -exec sed -i.bak 's/1\.10\.34/1\.10\.35/g' {} \;