38 lines
1.4 KiB
Groovy
38 lines
1.4 KiB
Groovy
apply plugin: 'com.huawei.ohos.hap'
|
|
apply plugin: 'com.huawei.ohos.decctest'
|
|
//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 '0000001856EA9B72DCD12C677995573A97D0C716FC9BB7125E89E37CF6A53AAF1671950486A02D87'
|
|
keyAlias = 'debugKey'
|
|
keyPassword '0000001864EF071721F6AA68EE1B417DC789469C2CD5E46B0BBF6CA9B91450990764CAC390EE3A7C'
|
|
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 7
|
|
defaultConfig {
|
|
compatibleSdkVersion 6
|
|
}
|
|
buildTypes {
|
|
release {
|
|
proguardOpt {
|
|
proguardEnabled false
|
|
rulesFiles 'proguard-rules.pro'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar', '*.har'])
|
|
testImplementation 'junit:junit:4.13.1'
|
|
ohosTestImplementation 'com.huawei.ohos.testkit:runner:1.0.0.200'
|
|
}
|
|
decc {
|
|
supportType = ['html', 'xml']
|
|
}
|