Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
Signed-off-by: Lin <[email protected]>
  • Loading branch information
Lin committed Jan 2, 2024
1 parent 179131d commit 48c7a30
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
10 changes: 5 additions & 5 deletions autojs/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ dependencies {
// libs
api(fileTree("../app/libs"){include("dx.jar", "rhino-1.7.14-jdk7.jar")})
api("cz.adaptech:tesseract4android:4.1.1")
api("com.google.mlkit:text-recognition:16.0.0-beta5")
api("com.google.mlkit:text-recognition-chinese:16.0.0-beta5")
api("com.google.mlkit:text-recognition-devanagari:16.0.0-beta5")
api("com.google.mlkit:text-recognition-japanese:16.0.0-beta5")
api("com.google.mlkit:text-recognition-korean:16.0.0-beta5")
api(libs.text.recognition)
api(libs.text.recognition.chinese)
api(libs.text.recognition.devanagari)
api(libs.text.recognition.japanese)
api(libs.text.recognition.korean)
}

7 changes: 7 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ espresso-core = "3.5.1"
appcompat = "1.4.2"
material = "1.9.0"
accompanist-version = "0.24.13-rc"
text-recognition = "16.0.0-beta6"
text-recognition-chinese = "16.0.0"

[libraries]

Expand Down Expand Up @@ -67,6 +69,11 @@ material = { group = "com.google.android.material", name = "material", version.r
andserver-processor = { module = "com.yanzhenjie.andserver:processor", version.ref = "andserver" }
andserver-api = { module = "com.yanzhenjie.andserver:api", version.ref = "andserver" }
androidx-constraintlayout = { group = "androidx.constraintlayout", name = "constraintlayout", version = "2.1.4" }
text-recognition = { module = "com.google.mlkit:text-recognition", version.ref = "text-recognition" }
text-recognition-chinese = { module = "com.google.mlkit:text-recognition-chinese", version.ref = "text-recognition-chinese" }
text-recognition-korean = { module = "com.google.mlkit:text-recognition-korean", version.ref = "text-recognition" }
text-recognition-japanese = { module = "com.google.mlkit:text-recognition-japanese", version.ref = "text-recognition" }
text-recognition-devanagari = { module = "com.google.mlkit:text-recognition-devanagari", version.ref = "text-recognition" }
[plugins]

[bundles]
Expand Down

0 comments on commit 48c7a30

Please sign in to comment.