build.gradle
997 Bytes
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
group 'vn.hunghd.flutter.plugins.imagecropper'
version '1.0-SNAPSHOT'
buildscript {
repositories {
google()
mavenCentral()
maven { url "https://www.jitpack.io" }
}
dependencies {
classpath 'com.android.tools.build:gradle:3.6.4'
}
}
rootProject.allprojects {
repositories {
google()
mavenCentral()
maven { url "https://www.jitpack.io" }
}
}
apply plugin: 'com.android.library'
android {
// Conditional for compatibility with AGP <4.2.
if (project.android.hasProperty("namespace")) {
namespace 'vn.hunghd.flutter.plugins.imagecropper'
}
compileSdkVersion 33
defaultConfig {
minSdkVersion 16
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
lintOptions {
disable 'InvalidPackage'
}
dependencies {
implementation 'com.github.yalantis:ucrop:2.2.10'
implementation 'androidx.preference:preference:1.2.1'
}
}