FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
LeanType-OCR-Plugin/app/build.gradle at main · LeanBitLab/LeanType-OCR-Plugin · GitHub
LeanBitLab
/
LeanType-OCR-Plugin
Public
Notifications
You must be signed in to change notification settings
Fork
2
Star
12
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
LeanType-OCR-Plugin
/
app
/
build.gradle
Copy path
More file actions
More file actions
Latest commit
History
History
History
99 lines (88 loc) · 2.94 KB
Breadcrumbs
LeanType-OCR-Plugin
/
app
/
build.gradle
Copy path
File metadata and controls
99 lines (88 loc) · 2.94 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
plugins
{
id
'
com.android.application
'
id
'
org.jetbrains.kotlin.android
'
}
import
java.util.Properties
def
keystorePropertiesFile
=
rootProject
.
file(
"
keystore.properties
"
)
def
keystoreProperties
=
new
Properties
()
if
(keystorePropertiesFile
.
exists()) {
keystoreProperties
.
load(
new
FileInputStream
(keystorePropertiesFile))
}
android
{
namespace
'
helium314.keyboard.ocr.plugin
'
compileSdk 34
defaultConfig {
applicationId
"
helium314.keyboard.ocr.plugin
"
minSdk
21
targetSdk
34
versionCode
2
versionName
"
1.0.1
"
}
signingConfigs {
if
(keystorePropertiesFile
.
exists()) {
release {
keyAlias keystoreProperties[
'
keyAlias
'
]
keyPassword keystoreProperties[
'
keyPassword
'
]
storeFile rootProject
.
file(keystoreProperties[
'
storeFile
'
])
storePassword keystoreProperties[
'
storePassword
'
]
}
}
}
buildTypes {
release {
minifyEnabled
true
proguardFiles getDefaultProguardFile(
'
proguard-android-optimize.txt
'
),
'
proguard-rules.pro
'
if
(keystorePropertiesFile
.
exists()) {
signingConfig signingConfigs
.
release
}
}
debug {
minifyEnabled
false
}
}
splits {
abi {
enable
true
reset()
include
'
arm64-v8a
'
,
'
armeabi-v7a
'
,
'
x86
'
,
'
x86_64
'
universalApk
false
}
}
applicationVariants
.
all {
variant
->
variant
.
outputs
.
all {
output
->
def
abi
=
output
.
getFilter(
com.android.build.OutputFile
.
ABI
)
if
(abi
!=
null
) {
outputFileName
=
"
ocr_plugin-
${
abi
}
.apk
"
}
}
}
compileOptions {
sourceCompatibility
JavaVersion
.
VERSION_1_8
targetCompatibility
JavaVersion
.
VERSION_1_8
}
kotlinOptions {
jvmTarget
=
'
1.8
'
}
}
dependencies
{
implementation
'
androidx.core:core-ktx:1.12.0
'
compileOnly
'
androidx.work:work-runtime:2.10.1
'
implementation
'
org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3
'
implementation
'
org.jetbrains.kotlinx:kotlinx-coroutines-play-services:1.7.3
'
//
ML Kit Text Recognition v2 bundled offline models
implementation(
'
com.google.mlkit:text-recognition:16.0.1
'
) {
exclude
group
:
'
androidx.work
'
,
module
:
'
work-runtime
'
}
implementation(
'
com.google.mlkit:text-recognition-devanagari:16.0.1
'
) {
exclude
group
:
'
androidx.work
'
,
module
:
'
work-runtime
'
}
implementation(
'
com.google.mlkit:text-recognition-chinese:16.0.1
'
) {
exclude
group
:
'
androidx.work
'
,
module
:
'
work-runtime
'
}
implementation(
'
com.google.mlkit:text-recognition-japanese:16.0.1
'
) {
exclude
group
:
'
androidx.work
'
,
module
:
'
work-runtime
'
}
implementation(
'
com.google.mlkit:text-recognition-korean:16.0.1
'
) {
exclude
group
:
'
androidx.work
'
,
module
:
'
work-runtime
'
}
}
Back
|
FazBrowse Home
|
New Git URL