forked from JessYanCoding/AndroidAutoSize
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
48 lines (43 loc) · 1.03 KB
/
build.gradle
File metadata and controls
48 lines (43 loc) · 1.03 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
apply plugin: 'com.huawei.ohos.app'
ohos {
compileSdkVersion 3
defaultConfig {
compatibleSdkVersion 3
}
}
buildscript {
repositories {
maven {
url 'https://mirrors.huaweicloud.com/repository/maven/'
}
maven {
url 'https://developer.huawei.com/repo/'
}
jcenter()
}
dependencies {
classpath 'com.huawei.ohos:hap:2.0.0.6'
}
}
allprojects {
repositories {
maven {
url 'https://mirrors.huaweicloud.com/repository/maven/'
}
maven {
url 'https://developer.huawei.com/repo/'
}
jcenter()
}
}
ext {
minSdkVersion = 14
targetSdkVersion = 29
compileSdkVersion = 29
buildToolsVersion = "29.0.2"
versionCode = 41
versionName = "1.2.1"
appcompat_v7 = "com.android.support:appcompat-v7:28.0.0"
androidx_appcompat = "androidx.appcompat:appcompat:1.1.0"
}