Skip to content

Commit fcf71f3

Browse files
authored
Merge pull request #57 from AmirDevD12/master
fix namespace
2 parents 44c4082 + 73c7c17 commit fcf71f3

File tree

1 file changed

+61
-2
lines changed

1 file changed

+61
-2
lines changed

android/build.gradle

Lines changed: 61 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,67 +1,126 @@
1-
group 'com.vladih.computer_vision.flutter_vision'
1+
group 'com.vladih.computer_vision.flutter_vision'
2+
23
version '1.0'
34

5+
46
buildscript {
7+
58
repositories {
9+
610
google()
11+
712
mavenCentral()
13+
814
}
915

16+
1017
dependencies {
18+
1119
classpath 'com.android.tools.build:gradle:7.1.2'
20+
1221
}
22+
1323
}
1424

25+
1526
rootProject.allprojects {
27+
1628
repositories {
29+
1730
google()
31+
1832
mavenCentral()
33+
1934
flatDir{
35+
2036
dirs project(":flutter_vision").file("libs")
37+
2138
}
39+
2240
maven {
41+
2342
url 'https://jitpack.io'
43+
2444
}
45+
2546
maven{
47+
2648
name 'ossrh-snapshot'
49+
2750
url 'https://oss.sonatype.org/content/repositories/snapshots'
51+
2852
}
53+
2954
}
55+
3056
}
3157

58+
3259
apply plugin: 'com.android.library'
3360

61+
3462
android {
35-
namespace 'com.vladih.computer_vision.flutter_vision'
3663
compileSdkVersion 31
3764

65+
66+
67+
namespace 'com.vladih.computer_vision.flutter_vision'
68+
69+
3870
compileOptions {
71+
3972
sourceCompatibility JavaVersion.VERSION_1_8
73+
4074
targetCompatibility JavaVersion.VERSION_1_8
75+
4176
}
4277

78+
4379
defaultConfig {
80+
4481
minSdkVersion 21
82+
4583
}
84+
4685
aaptOptions {
86+
4787
noCompress 'tflite'
88+
4889
noCompress 'lite'
90+
4991
}
5092

93+
5194
buildFeatures{
95+
5296
mlModelBinding true
97+
5398
}
99+
54100
}
101+
102+
55103
dependencies{
104+
56105
//implementation (files('libs/tesseract4android-release.aar'))
106+
57107
api(name:"tesseract4android-release", ext: "aar")
108+
58109
implementation 'com.github.vladiH:opencv-android:v1.0.0'
110+
59111
implementation 'org.tensorflow:tensorflow-lite:2.10.0'
112+
60113
implementation 'org.tensorflow:tensorflow-lite-api:2.10.0'
114+
61115
implementation 'org.tensorflow:tensorflow-lite-gpu:2.10.0'
116+
62117
implementation 'org.tensorflow:tensorflow-lite-gpu-api:2.10.0'
118+
63119
implementation 'org.tensorflow:tensorflow-lite-gpu-delegate-plugin:0.4.3'
120+
64121
implementation 'org.tensorflow:tensorflow-lite-support:0.4.3'
122+
65123
implementation 'org.tensorflow:tensorflow-lite-metadata:0.4.3'
124+
66125
implementation 'org.tensorflow:tensorflow-lite-select-tf-ops:2.11.0'
67126
}

0 commit comments

Comments
 (0)