Skip to content

Commit

Permalink
Update AAR version in Android Java demo (#1618)
Browse files Browse the repository at this point in the history
  • Loading branch information
csukuangfj authored Dec 12, 2024
1 parent e54c1f4 commit efb505f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion android/SherpaOnnxJavaDemo/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
2 changes: 2 additions & 0 deletions new-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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' {} \;
Expand Down

0 comments on commit efb505f

Please sign in to comment.