2021-12-21 19:05:53 +08:00
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 {
2021-12-24 21:16:46 +08:00
storeFile file ( 'C:\\Users\\lenovo\\.ohos\\config\\auto_debug_myapplication_56657123.p12' )
storePassword '0000001856EA9B72DCD12C677995573A97D0C716FC9BB7125E89E37CF6A53AAF1671950486A02D87'
2021-12-21 19:05:53 +08:00
keyAlias = 'debugKey'
2021-12-24 21:16:46 +08:00
keyPassword '0000001864EF071721F6AA68EE1B417DC789469C2CD5E46B0BBF6CA9B91450990764CAC390EE3A7C'
2021-12-21 19:05:53 +08:00
signAlg = 'SHA256withECDSA'
2021-12-24 21:16:46 +08:00
profile file ( 'C:\\Users\\lenovo\\.ohos\\config\\auto_debug_myapplication_56657123.p7b' )
certpath file ( 'C:\\Users\\lenovo\\.ohos\\config\\auto_debug_myapplication_56657123.cer' )
2021-12-21 19:05:53 +08:00
}
}
2021-12-23 15:44:54 +08:00
compileSdkVersion 7
2021-12-21 19:05:53 +08:00
defaultConfig {
2021-12-23 15:44:54 +08:00
compatibleSdkVersion 6
2021-12-21 19:05:53 +08:00
}
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' ]
}