45 lines
1.5 KiB
Groovy
45 lines
1.5 KiB
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 {
|
||
|
signingConfigs {
|
||
|
debug {
|
||
|
storeFile file('C:\\Users\\lenovo\\.ohos\\config\\auto_debug_myapplication_56657123.p12')
|
||
|
storePassword '000000189845B89E9938FEEBFE701FAEAC25439ED8DE6F976636C812F590E90DEF8C2D7240F79BEA'
|
||
|
keyAlias = 'debugKey'
|
||
|
keyPassword '00000018F7C68D0AD0D2776537D282AB0031F7235FF3D835EAC2ABA317D122EE3C2FD3679146F82A'
|
||
|
signAlg = 'SHA256withECDSA'
|
||
|
profile file('C:\\Users\\lenovo\\.ohos\\config\\auto_debug_myapplication_56657123.p7b')
|
||
|
certpath file('C:\\Users\\lenovo\\.ohos\\config\\auto_debug_myapplication_56657123.cer')
|
||
|
}
|
||
|
}
|
||
|
compileSdkVersion 6
|
||
|
}
|
||
|
|
||
|
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.3.4'
|
||
|
classpath 'com.huawei.ohos:decctest:1.2.6.0'
|
||
|
}
|
||
|
}
|
||
|
|
||
|
allprojects {
|
||
|
repositories {
|
||
|
maven {
|
||
|
url 'https://repo.huaweicloud.com/repository/maven/'
|
||
|
}
|
||
|
maven {
|
||
|
url 'https://developer.huawei.com/repo/'
|
||
|
}
|
||
|
}
|
||
|
}
|