Skip to content

Commit 7f8cb9c

Browse files
authored
Merge branch 'master' into master
2 parents 942e24a + fcf71f3 commit 7f8cb9c

File tree

1 file changed

+41
-3
lines changed

1 file changed

+41
-3
lines changed

android/build.gradle

Lines changed: 41 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,95 @@
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 {
1118
classpath 'com.android.tools.build:gradle:8.6.0'
1219
}
20+
1321
}
1422

23+
1524
rootProject.allprojects {
25+
1626
repositories {
27+
1728
google()
29+
1830
mavenCentral()
31+
1932
maven {
33+
2034
url 'https://jitpack.io'
35+
2136
}
37+
2238
maven{
39+
2340
name 'ossrh-snapshot'
41+
2442
url 'https://oss.sonatype.org/content/repositories/snapshots'
43+
2544
}
2645

2746
}
47+
2848
}
2949

50+
3051
apply plugin: 'com.android.library'
3152

53+
3254
android {
33-
namespace "com.vladih.computer_vision.flutter_vision"
55+
56+
namespace 'com.vladih.computer_vision.flutter_vision'
57+
3458
compileSdkVersion 36
3559

3660
compileOptions {
61+
3762
sourceCompatibility JavaVersion.VERSION_1_8
63+
3864
targetCompatibility JavaVersion.VERSION_1_8
65+
3966
}
4067

68+
4169
defaultConfig {
70+
4271
minSdkVersion 21
4372
targetSdk 36
4473
}
74+
4575
aaptOptions {
76+
4677
noCompress 'tflite'
78+
4779
noCompress 'lite'
80+
4881
}
4982

83+
5084
buildFeatures{
85+
5186
mlModelBinding true
87+
5288
}
5389

5490
}
91+
92+
5593
dependencies{
5694
implementation 'com.github.vladiH:opencv-android:v1.0.0'
5795
implementation 'com.google.ai.edge.litert:litert:1.4.0'
@@ -60,4 +98,4 @@ dependencies{
6098
implementation 'com.google.ai.edge.litert:litert-gpu-api:1.4.0'
6199
implementation 'com.google.ai.edge.litert:litert-support:1.4.0'
62100
implementation 'com.google.ai.edge.litert:litert-metadata:1.4.0'
63-
}
101+
}

0 commit comments

Comments
 (0)