38 lines
949 B
Groovy
38 lines
949 B
Groovy
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
apply plugin: 'com.huawei.ohos.app'
|
|
|
|
//For instructions on signature configuration, see https://developer.harmonyos.com/cn/docs/documentation/doc-guides/ide_debug_device-0000001053822404#section1112183053510
|
|
ohos {
|
|
compileSdkVersion 6
|
|
defaultConfig {
|
|
compatibleSdkVersion 5
|
|
}
|
|
}
|
|
|
|
|
|
buildscript {
|
|
repositories {
|
|
maven {
|
|
url 'https://repo.huaweicloud.com/repository/maven/'
|
|
}
|
|
maven {
|
|
url 'https://developer.huawei.com/repo/'
|
|
}
|
|
}
|
|
dependencies {
|
|
classpath 'com.huawei.ohos:hap:3.0.5.2'
|
|
classpath 'com.huawei.ohos:decctest:1.2.7.2'
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
maven {
|
|
url 'https://repo.huaweicloud.com/repository/maven/'
|
|
}
|
|
maven {
|
|
url 'https://developer.huawei.com/repo/'
|
|
}
|
|
}
|
|
}
|