-
Notifications
You must be signed in to change notification settings - Fork 250
Expand file tree
/
Copy pathbuild.gradle
More file actions
54 lines (44 loc) · 1.11 KB
/
build.gradle
File metadata and controls
54 lines (44 loc) · 1.11 KB
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
group 'com.huawei.hms.flutter.drive'
version '1.0'
buildscript {
repositories {
google()
mavenCentral()
maven { url "https://developer.huawei.com/repo/" }
}
dependencies {
classpath 'com.android.tools.build:gradle:3.6.0'
}
}
rootProject.allprojects {
repositories {
google()
mavenCentral()
maven { url "https://developer.huawei.com/repo/" }
}
}
apply plugin: 'com.android.library'
android {
compileSdkVersion 30
buildToolsVersion "30.0.3"
if (project.android.hasProperty("namespace")) {
namespace 'com.huawei.hms.flutter.drive'
}
defaultConfig {
minSdkVersion 27
targetSdkVersion 30
}
lintOptions {
disable "InvalidPackage"
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
implementation 'com.huawei.hms:drive:5.0.0.307'
implementation "com.huawei.hms:device:6.6.0.300"
implementation 'com.huawei.hms:stats:6.6.0.300'
implementation "com.google.code.gson:gson:2.9.0"
}